2 // System.Web.Management.WebEventFormatter.cs
5 // Marek Habersack <mhabersack@novell.com>
7 // Copyright (C) 2007 Novell, Inc (http://www.novell.com)
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30 namespace System
.Web
.Management
32 public sealed class WebEventCodes
34 public const int InvalidEventCode
= -1;
36 public const int UndefinedEventCode
= 0;
37 public const int UndefinedEventDetailCode
= 0;
39 public const int ApplicationCodeBase
= 0x003E8;
40 public const int ApplicationStart
= ApplicationCodeBase
+ 0x01;
41 public const int ApplicationShutdown
= ApplicationCodeBase
+ 0x02;
42 public const int ApplicationCompilationStart
= ApplicationCodeBase
+ 0x03;
43 public const int ApplicationCompilationEnd
= ApplicationCodeBase
+ 0x04;
44 public const int ApplicationHeartbeat
= ApplicationCodeBase
+ 0x05;
46 public const int RequestCodeBase
= 0x007D0;
47 public const int RequestTransactionComplete
= RequestCodeBase
+ 0x01;
48 public const int RequestTransactionAbort
= RequestCodeBase
+ 0x02;
50 public const int ErrorCodeBase
= 0x00BB8;
51 public const int RuntimeErrorRequestAbort
= ErrorCodeBase
+ 0x01;
52 public const int RuntimeErrorViewStateFailure
= ErrorCodeBase
+ 0x02;
53 public const int RuntimeErrorValidationFailure
= ErrorCodeBase
+ 0x03;
54 public const int RuntimeErrorPostTooLarge
= ErrorCodeBase
+ 0x04;
55 public const int RuntimeErrorUnhandledException
= ErrorCodeBase
+ 0x05;
56 public const int WebErrorParserError
= ErrorCodeBase
+ 0x06;
57 public const int WebErrorCompilationError
= ErrorCodeBase
+ 0x07;
58 public const int WebErrorConfigurationError
= ErrorCodeBase
+ 0x08;
59 public const int WebErrorOtherError
= ErrorCodeBase
+ 0x09;
60 public const int WebErrorPropertyDeserializationError
= ErrorCodeBase
+ 0x0A;
61 public const int WebErrorObjectStateFormatterDeserializationError
= ErrorCodeBase
+ 0x0B;
63 public const int AuditCodeBase
= 0x00FA0;
64 public const int AuditFormsAuthenticationSuccess
= AuditCodeBase
+ 0x01;
65 public const int AuditMembershipAuthenticationSuccess
= AuditCodeBase
+ 0x02;
66 public const int AuditUrlAuthorizationSuccess
= AuditCodeBase
+ 0x03;
67 public const int AuditFileAuthorizationSuccess
= AuditCodeBase
+ 0x04;
68 public const int AuditFormsAuthenticationFailure
= AuditCodeBase
+ 0x05;
69 public const int AuditMembershipAuthenticationFailure
= AuditCodeBase
+ 0x06;
70 public const int AuditUrlAuthorizationFailure
= AuditCodeBase
+ 0x07;
71 public const int AuditFileAuthorizationFailure
= AuditCodeBase
+ 0x08;
72 public const int AuditInvalidViewStateFailure
= AuditCodeBase
+ 0x09;
73 public const int AuditUnhandledSecurityException
= AuditCodeBase
+ 0x0A;
74 public const int AuditUnhandledAccessException
= AuditCodeBase
+ 0x0B;
76 public const int MiscCodeBase
= 0x01770;
77 public const int WebEventProviderInformation
= MiscCodeBase
+ 0x01;
79 public const int ApplicationDetailCodeBase
= 0x0C350;
80 public const int ApplicationShutdownUnknown
= ApplicationDetailCodeBase
+ 0x01;
81 public const int ApplicationShutdownHostingEnvironment
= ApplicationDetailCodeBase
+ 0x02;
82 public const int ApplicationShutdownChangeInGlobalAsax
= ApplicationDetailCodeBase
+ 0x03;
83 public const int ApplicationShutdownConfigurationChange
= ApplicationDetailCodeBase
+ 0x04;
84 public const int ApplicationShutdownUnloadAppDomainCalled
= ApplicationDetailCodeBase
+ 0x05;
85 public const int ApplicationShutdownChangeInSecurityPolicyFile
= ApplicationDetailCodeBase
+ 0x06;
86 public const int ApplicationShutdownBinDirChangeOrDirectoryRename
= ApplicationDetailCodeBase
+ 0x07;
87 public const int ApplicationShutdownBrowsersDirChangeOrDirectoryRename
= ApplicationDetailCodeBase
+ 0x08;
88 public const int ApplicationShutdownCodeDirChangeOrDirectoryRename
= ApplicationDetailCodeBase
+ 0x09;
89 public const int ApplicationShutdownResourcesDirChangeOrDirectoryRename
= ApplicationDetailCodeBase
+ 0x0A;
90 public const int ApplicationShutdownIdleTimeout
= ApplicationDetailCodeBase
+ 0x0B;
91 public const int ApplicationShutdownPhysicalApplicationPathChanged
= ApplicationDetailCodeBase
+ 0x0C;
92 public const int ApplicationShutdownHttpRuntimeClose
= ApplicationDetailCodeBase
+ 0x0D;
93 public const int ApplicationShutdownInitializationError
= ApplicationDetailCodeBase
+ 0x0E;
94 public const int ApplicationShutdownMaxRecompilationsReached
= ApplicationDetailCodeBase
+ 0x0F;
95 public const int StateServerConnectionError
= ApplicationDetailCodeBase
+ 0x10;
97 public const int AuditDetailCodeBase
= 0x0C418;
98 public const int InvalidTicketFailure
= AuditDetailCodeBase
+ 0x01;
99 public const int ExpiredTicketFailure
= AuditDetailCodeBase
+ 0x02;
100 public const int InvalidViewStateMac
= AuditDetailCodeBase
+ 0x03;
101 public const int InvalidViewState
= AuditDetailCodeBase
+ 0x04;
103 public const int WebEventDetailCodeBase
= 0x0C47C;
104 public const int SqlProviderEventsDropped
= WebEventDetailCodeBase
+ 0x01;
106 public const int WebExtendedBase
= 0x186A0;