1 //------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //------------------------------------------------------------
4 
5 namespace System.ServiceModel.Diagnostics
6 {
7     // FUTURE: This class is kept so that 4.0 Extended SKU runs fine on 4.5 Client. Will remove this in the future.
8     // Order is important here. The order must match the order of strings in ..\EventLog\EventLog.mc
9     [Obsolete("This has been replaced by System.Runtime.Diagnostics.EventLogEventId")]
10     enum EventLogEventId : uint
11     {
12         // EventIDs from shared Diagnostics and Reliability code
13         FailedToSetupTracing = 0xC0010064,
14         FailedToInitializeTraceSource,
15         FailFast,
16         FailFastException,
17         FailedToTraceEvent,
18         FailedToTraceEventWithException,
19         InvariantAssertionFailed,
20         PiiLoggingOn,
21         PiiLoggingNotAllowed,
22 
23         // ServiceModel EventIDs
24         WebHostUnhandledException = 0xC0020001,
25         WebHostHttpError,
26         WebHostFailedToProcessRequest,
27         WebHostFailedToListen,
28         FailedToLogMessage,
29         RemovedBadFilter,
30         FailedToCreateMessageLoggingTraceSource,
31         MessageLoggingOn,
32         MessageLoggingOff,
33         FailedToLoadPerformanceCounter,
34         FailedToRemovePerformanceCounter,
35         WmiGetObjectFailed,
36         WmiPutInstanceFailed,
37         WmiDeleteInstanceFailed,
38         WmiCreateInstanceFailed,
39         WmiExecQueryFailed,
40         WmiExecMethodFailed,
41         WmiRegistrationFailed,
42         WmiUnregistrationFailed,
43         WmiAdminTypeMismatch,
44         WmiPropertyMissing,
45         ComPlusServiceHostStartingServiceError,
46         ComPlusDllHostInitializerStartingError,
47         ComPlusTLBImportError,
48         ComPlusInvokingMethodFailed,
49         ComPlusInstanceCreationError,
50         ComPlusInvokingMethodFailedMismatchedTransactions,
51 
52         // TransactionBridge
53         UnhandledStateMachineExceptionRecordDescription = 0xC0030001,
54         FatalUnexpectedStateMachineEvent,
55         ParticipantRecoveryLogEntryCorrupt,
56         CoordinatorRecoveryLogEntryCorrupt,
57         CoordinatorRecoveryLogEntryCreationFailure,
58         ParticipantRecoveryLogEntryCreationFailure,
59         ProtocolInitializationFailure,
60         ProtocolStartFailure,
61         ProtocolRecoveryBeginningFailure,
62         ProtocolRecoveryCompleteFailure,
63         TransactionBridgeRecoveryFailure,
64         ProtocolStopFailure,
65         NonFatalUnexpectedStateMachineEvent,
66         PerformanceCounterInitializationFailure,
67         ProtocolRecoveryComplete,
68         ProtocolStopped,
69         ThumbPrintNotFound,
70         ThumbPrintNotValidated,
71         SslNoPrivateKey,
72         SslNoAccessiblePrivateKey,
73         MissingNecessaryKeyUsage,
74         MissingNecessaryEnhancedKeyUsage,
75 
76         // SMSvcHost
77         StartErrorPublish = 0xC0040001,
78         BindingError,
79         LAFailedToListenForApp,
80         UnknownListenerAdapterError,
81         WasDisconnected,
82         WasConnectionTimedout,
83         ServiceStartFailed,
84         MessageQueueDuplicatedSocketLeak,
85         MessageQueueDuplicatedPipeLeak,
86         SharingUnhandledException,
87 
88         // SecurityAudit
89         ServiceAuthorizationSuccess = 0x40060001,
90         ServiceAuthorizationFailure = 0xC0060002,
91         MessageAuthenticationSuccess = 0x40060003,
92         MessageAuthenticationFailure = 0xC0060004,
93         SecurityNegotiationSuccess = 0x40060005,
94         SecurityNegotiationFailure = 0xC0060006,
95         TransportAuthenticationSuccess = 0x40060007,
96         TransportAuthenticationFailure = 0xC0060008,
97         ImpersonationSuccess = 0x40060009,
98         ImpersonationFailure = 0xC006000A
99     }
100 }
101