Exemple #1
0
 internal static bool ReceiveContextFaultedIsEnabled()
 {
     if (!FxTrace.ShouldTraceWarning)
     {
         return(false);
     }
     if (!FxTrace.ShouldTraceWarningToTraceSource)
     {
         return(FxTrace.IsEventEnabled(0x23));
     }
     return(true);
 }
Exemple #2
0
 internal static bool ReceiveContextAbandonWithExceptionIsEnabled()
 {
     if (!FxTrace.ShouldTraceInformation)
     {
         return(false);
     }
     if (!FxTrace.ShouldTraceInformationToTraceSource)
     {
         return(FxTrace.IsEventEnabled(0x21));
     }
     return(true);
 }
Exemple #3
0
 private static void EnsureEventDescriptors()
 {
     if (object.ReferenceEquals(TD.eventDescriptors, null))
     {
         EventDescriptor[] eventDescriptors = new EventDescriptor[] {
             new EventDescriptor(0xd9, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xc9, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xca, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xcb, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xcc, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xcd, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xce, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xcf, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xd0, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xd1, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(210, 0, 0x12, 3, 0, 0, 0x20000000000e0004L), new EventDescriptor(0xd3, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xd4, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xd6, 0, 0x12, 4, 0, 0, 0x20000000000e0004L), new EventDescriptor(0xd7, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xd8, 0, 0x12, 4, 0, 0, 0x2000000000080004L),
             new EventDescriptor(0x1c3, 0, 0x12, 4, 0, 0, 0x2000000000080020L), new EventDescriptor(0x1c4, 0, 0x12, 3, 0, 0, 0x2000000000080020L), new EventDescriptor(0x11f8, 0, 0x13, 3, 0, 0, 0x1000000000000020L), new EventDescriptor(0x194, 0, 0x12, 4, 7, 0, 0x2000000000080000L), new EventDescriptor(0x192, 0, 0x12, 4, 1, 0, 0x2000000000080000L), new EventDescriptor(0x191, 0, 0x12, 4, 2, 0, 0x2000000000080000L), new EventDescriptor(0x193, 0, 0x12, 4, 8, 0, 0x2000000000080000L), new EventDescriptor(0xda, 0, 0x12, 4, 0, 0, 0x2000000000080004L), new EventDescriptor(0xdb, 0, 0x12, 2, 0, 0, 0x20000000000e0004L), new EventDescriptor(0xde, 0, 0x12, 3, 0, 0, 0x20000000000e0004L), new EventDescriptor(0xdf, 0, 0x12, 3, 0, 0, 0x20000000000e0004L), new EventDescriptor(0xe0, 0, 0x12, 3, 0, 0, 0x20000000000e0004L), new EventDescriptor(0xdd, 0, 0x12, 4, 0, 0, 0x20000000000a0004L), new EventDescriptor(220, 0, 0x12, 4, 0, 0, 0x20000000000a0004L), new EventDescriptor(0x1fd, 0, 20, 4, 1, 0x9c9, 0x800000000000100L), new EventDescriptor(510, 0, 20, 4, 2, 0x9c9, 0x800000000000100L),
             new EventDescriptor(0xce5, 0, 0x13, 3, 0, 0, 0x1000000000000004L), new EventDescriptor(0xce7, 0, 0x13, 4, 0, 0, 0x1000000000000004L), new EventDescriptor(0xce4, 0, 0x13, 3, 0, 0, 0x1000000000000004L), new EventDescriptor(0xce6, 0, 0x13, 3, 0, 0, 0x1000000000000004L)
         };
         FxTrace.UpdateEventDefinitions(eventDescriptors);
         TD.eventDescriptors = eventDescriptors;
     }
 }
Exemple #4
0
 internal static bool ParameterInspectorBeforeCallInvokedIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(12));
 }
Exemple #5
0
 internal static bool OperationInvokedIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(5));
 }
Exemple #6
0
 internal static bool ClientOperationPreparedIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(0));
 }
Exemple #7
0
 internal static bool StartSignpostEventIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(20));
 }
Exemple #8
0
 internal static bool ServiceExceptionIsEnabled()
 {
     return(FxTrace.ShouldTraceError && FxTrace.IsEventEnabled(0x18));
 }
Exemple #9
0
 internal static bool MessageReceivedFromTransportIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(0x1c));
 }
Exemple #10
0
 internal static bool MessageLogWarningIsEnabled()
 {
     return(FxTrace.ShouldTraceWarning && FxTrace.IsEventEnabled(0x11));
 }
Exemple #11
0
 internal static bool MessageLogInfoIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(0x10));
 }
Exemple #12
0
 internal static bool MessageLogEventSizeExceededIsEnabled()
 {
     return(FxTrace.ShouldTraceWarning && FxTrace.IsEventEnabled(0x12));
 }
Exemple #13
0
 private static bool IsEtwEventEnabled(int eventIndex)
 {
     EnsureEventDescriptors();
     return(FxTrace.IsEventEnabled(eventIndex));
 }
Exemple #14
0
 internal static bool FaultProviderInvokedIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(7));
 }
Exemple #15
0
 internal static bool ErrorHandlerInvokedIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(6));
 }
Exemple #16
0
 internal static bool ClientMessageInspectorBeforeSendInvokedIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(2));
 }
Exemple #17
0
 internal static bool ClientMessageInspectorAfterReceiveInvokedIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(1));
 }
Exemple #18
0
 internal static bool MessageSentToTransportIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(0x1d));
 }
Exemple #19
0
 internal static bool ResumeSignpostEventIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(0x13));
 }
Exemple #20
0
 internal static bool MessageThrottleAtSeventyPercentIsEnabled()
 {
     return(FxTrace.ShouldTraceWarning && FxTrace.IsEventEnabled(0x1b));
 }
Exemple #21
0
 internal static bool ClientOperationCompletedIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(0x17));
 }
Exemple #22
0
 internal static bool MessageThrottleExceededIsEnabled()
 {
     return(FxTrace.ShouldTraceWarning && FxTrace.IsEventEnabled(10));
 }
Exemple #23
0
 internal static bool SuspendSignpostEventIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(0x16));
 }
Exemple #24
0
 internal static bool OperationFaultedIsEnabled()
 {
     return(FxTrace.ShouldTraceWarning && FxTrace.IsEventEnabled(0x1a));
 }
Exemple #25
0
 internal static bool ClientParameterInspectorAfterCallInvokedIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(3));
 }
Exemple #26
0
 internal static bool CommunicationObjectOpenStopIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation && FxTrace.IsEventEnabled(0x1f));
 }