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.
31 namespace System.Web.Management
33 public sealed class WebEventCodes
35 public const int InvalidEventCode = -1;
37 public const int UndefinedEventCode = 0;
38 public const int UndefinedEventDetailCode = 0;
40 public const int ApplicationCodeBase = 0x003E8;
41 public const int ApplicationStart = ApplicationCodeBase + 0x01;
42 public const int ApplicationShutdown = ApplicationCodeBase + 0x02;
43 public const int ApplicationCompilationStart = ApplicationCodeBase + 0x03;
44 public const int ApplicationCompilationEnd = ApplicationCodeBase + 0x04;
45 public const int ApplicationHeartbeat = ApplicationCodeBase + 0x05;
47 public const int RequestCodeBase = 0x007D0;
48 public const int RequestTransactionComplete = RequestCodeBase + 0x01;
49 public const int RequestTransactionAbort = RequestCodeBase + 0x02;
51 public const int ErrorCodeBase = 0x00BB8;
52 public const int RuntimeErrorRequestAbort = ErrorCodeBase + 0x01;
53 public const int RuntimeErrorViewStateFailure = ErrorCodeBase + 0x02;
54 public const int RuntimeErrorValidationFailure = ErrorCodeBase + 0x03;
55 public const int RuntimeErrorPostTooLarge = ErrorCodeBase + 0x04;
56 public const int RuntimeErrorUnhandledException = ErrorCodeBase + 0x05;
57 public const int WebErrorParserError = ErrorCodeBase + 0x06;
58 public const int WebErrorCompilationError = ErrorCodeBase + 0x07;
59 public const int WebErrorConfigurationError = ErrorCodeBase + 0x08;
60 public const int WebErrorOtherError = ErrorCodeBase + 0x09;
61 public const int WebErrorPropertyDeserializationError = ErrorCodeBase + 0x0A;
62 public const int WebErrorObjectStateFormatterDeserializationError = ErrorCodeBase + 0x0B;
64 public const int AuditCodeBase = 0x00FA0;
65 public const int AuditFormsAuthenticationSuccess = AuditCodeBase + 0x01;
66 public const int AuditMembershipAuthenticationSuccess = AuditCodeBase + 0x02;
67 public const int AuditUrlAuthorizationSuccess = AuditCodeBase + 0x03;
68 public const int AuditFileAuthorizationSuccess = AuditCodeBase + 0x04;
69 public const int AuditFormsAuthenticationFailure = AuditCodeBase + 0x05;
70 public const int AuditMembershipAuthenticationFailure = AuditCodeBase + 0x06;
71 public const int AuditUrlAuthorizationFailure = AuditCodeBase + 0x07;
72 public const int AuditFileAuthorizationFailure = AuditCodeBase + 0x08;
73 public const int AuditInvalidViewStateFailure = AuditCodeBase + 0x09;
74 public const int AuditUnhandledSecurityException = AuditCodeBase + 0x0A;
75 public const int AuditUnhandledAccessException = AuditCodeBase + 0x0B;
77 public const int MiscCodeBase = 0x01770;
78 public const int WebEventProviderInformation = MiscCodeBase + 0x01;
80 public const int ApplicationDetailCodeBase = 0x0C350;
81 public const int ApplicationShutdownUnknown = ApplicationDetailCodeBase + 0x01;
82 public const int ApplicationShutdownHostingEnvironment = ApplicationDetailCodeBase + 0x02;
83 public const int ApplicationShutdownChangeInGlobalAsax = ApplicationDetailCodeBase + 0x03;
84 public const int ApplicationShutdownConfigurationChange = ApplicationDetailCodeBase + 0x04;
85 public const int ApplicationShutdownUnloadAppDomainCalled = ApplicationDetailCodeBase + 0x05;
86 public const int ApplicationShutdownChangeInSecurityPolicyFile = ApplicationDetailCodeBase + 0x06;
87 public const int ApplicationShutdownBinDirChangeOrDirectoryRename = ApplicationDetailCodeBase + 0x07;
88 public const int ApplicationShutdownBrowsersDirChangeOrDirectoryRename = ApplicationDetailCodeBase + 0x08;
89 public const int ApplicationShutdownCodeDirChangeOrDirectoryRename = ApplicationDetailCodeBase + 0x09;
90 public const int ApplicationShutdownResourcesDirChangeOrDirectoryRename = ApplicationDetailCodeBase + 0x0A;
91 public const int ApplicationShutdownIdleTimeout = ApplicationDetailCodeBase + 0x0B;
92 public const int ApplicationShutdownPhysicalApplicationPathChanged = ApplicationDetailCodeBase + 0x0C;
93 public const int ApplicationShutdownHttpRuntimeClose = ApplicationDetailCodeBase + 0x0D;
94 public const int ApplicationShutdownInitializationError = ApplicationDetailCodeBase + 0x0E;
95 public const int ApplicationShutdownMaxRecompilationsReached = ApplicationDetailCodeBase + 0x0F;
96 public const int StateServerConnectionError = ApplicationDetailCodeBase + 0x10;
98 public const int AuditDetailCodeBase = 0x0C418;
99 public const int InvalidTicketFailure = AuditDetailCodeBase + 0x01;
100 public const int ExpiredTicketFailure = AuditDetailCodeBase + 0x02;
101 public const int InvalidViewStateMac = AuditDetailCodeBase + 0x03;
102 public const int InvalidViewState = AuditDetailCodeBase + 0x04;
104 public const int WebEventDetailCodeBase = 0x0C47C;
105 public const int SqlProviderEventsDropped = WebEventDetailCodeBase + 0x01;
107 public const int WebExtendedBase = 0x186A0;