コード例 #1
0
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=5405, Level=Verbose, Channel=Debug
 /// </summary>
 internal static bool GetIssuerNameSuccessIsEnabled()
 {
     return(FxTrace.ShouldTraceVerbose && TD.IsEtwEventEnabled(1));
 }
コード例 #2
0
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=5403, Level=Verbose, Channel=Debug
 /// </summary>
 internal static bool TokenValidationSuccessIsEnabled()
 {
     return(FxTrace.ShouldTraceVerbose && TD.IsEtwEventEnabled(4));
 }
コード例 #3
0
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=5406, Level=Error, Channel=Debug
 /// </summary>
 internal static bool GetIssuerNameFailureIsEnabled()
 {
     return(FxTrace.ShouldTraceError && TD.IsEtwEventEnabled(0));
 }
コード例 #4
0
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=5404, Level=Error, Channel=Debug
 /// </summary>
 internal static bool TokenValidationFailureIsEnabled()
 {
     return(FxTrace.ShouldTraceError && TD.IsEtwEventEnabled(2));
 }