143 references to WebEventCodes
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedHttpContext.cs (1)
445
if (hostedException.WebEventCode ==
WebEventCodes
.RuntimeErrorPostTooLarge)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
599
if (hostedException.WebEventCode ==
WebEventCodes
.RuntimeErrorPostTooLarge)
System.Web (141)
Compilation\AssemblyBuilder.cs (2)
966
WebBaseEvent.RaiseSystemEvent(this,
WebEventCodes
.ApplicationCompilationStart);
1020
WebBaseEvent.RaiseSystemEvent(this,
WebEventCodes
.ApplicationCompilationEnd);
Configuration\HealthMonitoringSectionHelper.cs (4)
92
_cachedMatchedRules = new ArrayList[
WebEventCodes
.GetEventArrayDimensionSize(0),
93
WebEventCodes
.GetEventArrayDimensionSize(1)];
316
bool systemEvent = eventCode <
WebEventCodes
.WebExtendedBase;
346
WebEventCodes
.GetEventArrayIndexsFromEventCode(eventCode, out index0, out index1);
Handlers\AssemblyResourceLoader.cs (2)
490
eventCode:
WebEventCodes
.RuntimeErrorWebResourceFailure,
491
eventDetailCode:
WebEventCodes
.UndefinedEventDetailCode,
HttpApplication.cs (1)
2261
null,
WebEventCodes
.RuntimeErrorRequestAbort);
HttpApplicationFactory.cs (2)
146
WebBaseEvent.RaiseSystemEvent(_theApplicationFactory,
WebEventCodes
.ApplicationStart);
175
WebBaseEvent.RaiseSystemEvent(this,
WebEventCodes
.ApplicationStart);
HttpBufferlessInputStream.cs (1)
316
throw new HttpException(SR.GetString(SR.Max_request_length_exceeded), null,
WebEventCodes
.RuntimeErrorPostTooLarge);
HttpContext.cs (1)
1868
null,
WebEventCodes
.RuntimeErrorRequestAbort);
HttpException.cs (1)
40
private int _webEventCode =
WebEventCodes
.UndefinedEventCode;
HttpRequest.cs (2)
979
null,
WebEventCodes
.RuntimeErrorPostTooLarge);
1024
null,
WebEventCodes
.RuntimeErrorPostTooLarge);
HttpRuntime.cs (1)
3510
WebBaseEvent.RaiseSystemEvent(this,
WebEventCodes
.ApplicationShutdown,
Management\SqlWebEventProvider.cs (2)
207
WebEventCodes
.WebEventProviderInformation,
208
WebEventCodes
.SqlProviderEventsDropped);
Management\WebEventCodes.cs (11)
406
size =
WebEventCodes
.ApplicationCodeBaseLast -
WebEventCodes
.ApplicationCodeBase;
411
size =
WebEventCodes
.RequestCodeBaseLast -
WebEventCodes
.RequestCodeBase;
416
size =
WebEventCodes
.ErrorCodeBaseLast -
WebEventCodes
.ErrorCodeBase;
421
size =
WebEventCodes
.AuditCodeBaseLast -
WebEventCodes
.AuditCodeBase;
426
size =
WebEventCodes
.MiscCodeBaseLast -
WebEventCodes
.MiscCodeBase;
431
s_eventArrayDimensionSizes[0] =
WebEventCodes
.LastCodeBase/1000;
Management\WebEvents.cs (86)
135
static readonly SystemEventType[,] s_eventCodeToSystemEventTypeMappings = new SystemEventType[
WebEventCodes
.GetEventArrayDimensionSize(0),
136
WebEventCodes
.GetEventArrayDimensionSize(1)];
139
static readonly long[,] s_eventCodeOccurrence = new long[
WebEventCodes
.GetEventArrayDimensionSize(0),
140
WebEventCodes
.GetEventArrayDimensionSize(1)];
187
Init(message, eventSource, eventCode,
WebEventCodes
.UndefinedEventDetailCode);
200
return (_code <
WebEventCodes
.WebExtendedBase);
341
eventDetailsCode =
WebEventCodes
.UndefinedEventDetailCode;
344
eventCode =
WebEventCodes
.WebErrorConfigurationError;
347
eventCode =
WebEventCodes
.RuntimeErrorValidationFailure;
350
eventCode =
WebEventCodes
.WebErrorCompilationError;
353
eventCode =
WebEventCodes
.AuditUnhandledSecurityException;
356
eventCode =
WebEventCodes
.AuditUnhandledAccessException;
359
eventCode =
WebEventCodes
.WebErrorParserError;
363
eventCode =
WebEventCodes
.AuditInvalidViewStateFailure;
365
eventDetailsCode =
WebEventCodes
.InvalidViewStateMac;
368
eventDetailsCode =
WebEventCodes
.InvalidViewState;
373
else if (e is HttpException && ((HttpException)e).WebEventCode !=
WebEventCodes
.UndefinedEventCode) {
393
eventCode =
WebEventCodes
.RuntimeErrorUnhandledException;
410
int eventCode =
WebEventCodes
.UndefinedEventCode;
411
int eventDetailsCode =
WebEventCodes
.UndefinedEventDetailCode;
479
if (eventRaised.EventCode <
WebEventCodes
.WebExtendedBase) {
482
WebEventCodes
.WebExtendedBase.ToString(CultureInfo.CurrentCulture)));
640
RaiseSystemEventInternal(null, source, eventCode,
WebEventCodes
.UndefinedEventDetailCode, null, null);
652
RaiseSystemEventInternal(null, source, eventCode,
WebEventCodes
.UndefinedEventDetailCode, null, nameToAuthenticate);
674
WebEventCodes
.GetEventArrayIndexsFromEventCode(eventCode, out index0, out index1);
752
if (eventCode >=
WebEventCodes
.ApplicationCodeBase &&
753
eventCode <=
WebEventCodes
.ApplicationCodeBaseLast) {
755
case
WebEventCodes
.ApplicationStart:
756
case
WebEventCodes
.ApplicationShutdown:
757
case
WebEventCodes
.ApplicationCompilationStart:
758
case
WebEventCodes
.ApplicationCompilationEnd:
761
case
WebEventCodes
.ApplicationHeartbeat:
766
if (eventCode >=
WebEventCodes
.RequestCodeBase &&
767
eventCode <=
WebEventCodes
.RequestCodeBaseLast) {
770
case
WebEventCodes
.RequestTransactionComplete:
771
case
WebEventCodes
.RequestTransactionAbort:
776
if (eventCode >=
WebEventCodes
.ErrorCodeBase &&
777
eventCode <=
WebEventCodes
.ErrorCodeBaseLast) {
779
case
WebEventCodes
.RuntimeErrorRequestAbort:
780
case
WebEventCodes
.RuntimeErrorViewStateFailure:
781
case
WebEventCodes
.RuntimeErrorValidationFailure:
782
case
WebEventCodes
.RuntimeErrorPostTooLarge:
783
case
WebEventCodes
.RuntimeErrorUnhandledException:
784
case
WebEventCodes
.RuntimeErrorWebResourceFailure:
787
case
WebEventCodes
.WebErrorParserError:
788
case
WebEventCodes
.WebErrorCompilationError:
789
case
WebEventCodes
.WebErrorConfigurationError:
790
case
WebEventCodes
.WebErrorOtherError:
791
case
WebEventCodes
.WebErrorPropertyDeserializationError:
792
case
WebEventCodes
.WebErrorObjectStateFormatterDeserializationError:
797
if (eventCode >=
WebEventCodes
.AuditCodeBase &&
798
eventCode <=
WebEventCodes
.AuditCodeBaseLast) {
800
case
WebEventCodes
.AuditFormsAuthenticationSuccess:
801
case
WebEventCodes
.AuditMembershipAuthenticationSuccess:
804
case
WebEventCodes
.AuditUrlAuthorizationSuccess:
805
case
WebEventCodes
.AuditFileAuthorizationSuccess:
808
case
WebEventCodes
.AuditFormsAuthenticationFailure:
809
case
WebEventCodes
.AuditMembershipAuthenticationFailure:
812
case
WebEventCodes
.AuditUrlAuthorizationFailure:
813
case
WebEventCodes
.AuditFileAuthorizationFailure:
814
case
WebEventCodes
.AuditUnhandledSecurityException:
815
case
WebEventCodes
.AuditUnhandledAccessException:
818
case
WebEventCodes
.AuditInvalidViewStateFailure:
823
if (eventCode >=
WebEventCodes
.MiscCodeBase &&
824
eventCode <=
WebEventCodes
.MiscCodeBaseLast) {
826
case
WebEventCodes
.WebEventProviderInformation:
847
message =
WebEventCodes
.MessageFromEventCode(eventCode, eventDetailCode);
1027
WebEventCodes
.WebErrorPropertyDeserializationError,
1028
WebEventCodes
.UndefinedEventDetailCode,
1187
return
WebEventCodes
.ApplicationShutdownHostingEnvironment;
1190
return
WebEventCodes
.ApplicationShutdownChangeInGlobalAsax;
1193
return
WebEventCodes
.ApplicationShutdownConfigurationChange;
1196
return
WebEventCodes
.ApplicationShutdownUnloadAppDomainCalled;
1199
return
WebEventCodes
.ApplicationShutdownChangeInSecurityPolicyFile;
1202
return
WebEventCodes
.ApplicationShutdownBinDirChangeOrDirectoryRename;
1205
return
WebEventCodes
.ApplicationShutdownBrowsersDirChangeOrDirectoryRename;
1208
return
WebEventCodes
.ApplicationShutdownCodeDirChangeOrDirectoryRename;
1211
return
WebEventCodes
.ApplicationShutdownResourcesDirChangeOrDirectoryRename;
1214
return
WebEventCodes
.ApplicationShutdownIdleTimeout;
1217
return
WebEventCodes
.ApplicationShutdownPhysicalApplicationPathChanged;
1220
return
WebEventCodes
.ApplicationShutdownHttpRuntimeClose;
1223
return
WebEventCodes
.ApplicationShutdownInitializationError;
1226
return
WebEventCodes
.ApplicationShutdownMaxRecompilationsReached;
1229
return
WebEventCodes
.ApplicationShutdownBuildManagerChange;
1232
return
WebEventCodes
.ApplicationShutdownUnknown;
2432
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.ApplicationHeartbeat);
Security\ADMembershipProvider.cs (2)
1758
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.AuditMembershipAuthenticationSuccess, username);
1762
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.AuditMembershipAuthenticationFailure, username);
Security\FileAuthorizationModule.cs (2)
240
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.AuditFileAuthorizationSuccess);
244
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.AuditFileAuthorizationFailure);
Security\FormsAuthentication.cs (2)
308
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.AuditFormsAuthenticationSuccess, name);
312
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.AuditFormsAuthenticationFailure, name);
Security\FormsAuthenticationModule.cs (4)
469
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.AuditFormsAuthenticationFailure,
470
WebEventCodes
.InvalidTicketFailure);
472
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.AuditFormsAuthenticationFailure,
473
WebEventCodes
.ExpiredTicketFailure);
Security\SQLMembershipProvider.cs (2)
868
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.AuditMembershipAuthenticationSuccess, username);
872
WebBaseEvent.RaiseSystemEvent(null,
WebEventCodes
.AuditMembershipAuthenticationFailure, username);
Security\UrlAuthorizationModule.cs (2)
116
WebBaseEvent.RaiseSystemEvent(webEventSource,
WebEventCodes
.AuditUrlAuthorizationFailure);
153
WebBaseEvent.RaiseSystemEvent(this,
WebEventCodes
.AuditUrlAuthorizationSuccess);
State\OutOfProcStateClientManager.cs (2)
397
this,
WebEventCodes
.WebErrorOtherError,
WebEventCodes
.StateServerConnectionError, e);
UI\ObjectStateFormatter.cs (6)
483
WebEventCodes
.WebErrorObjectStateFormatterDeserializationError,
484
WebEventCodes
.UndefinedEventDetailCode,
662
WebEventCodes
.WebErrorObjectStateFormatterDeserializationError,
663
WebEventCodes
.UndefinedEventDetailCode,
697
WebEventCodes
.WebErrorObjectStateFormatterDeserializationError,
698
WebEventCodes
.UndefinedEventDetailCode,
UI\Page.cs (3)
2111
e.WebEventCode =
WebEventCodes
.RuntimeErrorViewStateFailure;
4535
WebBaseEvent.RaiseSystemEvent(this,
WebEventCodes
.RequestTransactionAbort);
4539
WebBaseEvent.RaiseSystemEvent(this,
WebEventCodes
.RequestTransactionComplete);