Inheritance: IServiceClientTracingInterceptor
 public static void RemoveTracingInterceptor(ServiceClientTracingInterceptor interceptor)
 {
     if (interceptor != null)
     {
         ServiceClientTracing.RemoveTracingInterceptor(interceptor);
     }
 }
示例#2
0
 public static void RemoveTracingInterceptor(ServiceClientTracingInterceptor interceptor)
 {
     if (interceptor != null)
     {
         ServiceClientTracing.RemoveTracingInterceptor(interceptor);
     }
 }
 protected override void SetupDebuggingTraces()
 {
     base.SetupDebuggingTraces();
     _serviceClientTracingInterceptor = _serviceClientTracingInterceptor
                                        ?? new ServiceClientTracingInterceptor(DebugMessages);
     ServiceClientTracing.AddTracingInterceptor(_serviceClientTracingInterceptor);
 }
 protected override void SetupDebuggingTraces()
 {
     ServiceClientTracing.IsEnabled = true;
     base.SetupDebuggingTraces();
     _serviceClientTracingInterceptor = _serviceClientTracingInterceptor
                                        ?? new ServiceClientTracingInterceptor(DebugMessages, _matchers, _clientRequestId);
     ServiceClientTracing.AddTracingInterceptor(_serviceClientTracingInterceptor);
 }
示例#5
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing && _serviceClientTracingInterceptor != null)
     {
         ServiceClientTracingInterceptor.RemoveTracingInterceptor(_serviceClientTracingInterceptor);
         _serviceClientTracingInterceptor = null;
         AzureSession.Instance.ClientFactory.RemoveHandler(typeof(RPRegistrationDelegatingHandler));
     }
 }
示例#6
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing && _serviceClientTracingInterceptor != null)
     {
         ServiceClientTracingInterceptor.RemoveTracingInterceptor(_serviceClientTracingInterceptor);
         _serviceClientTracingInterceptor = null;
         AzureSession.ClientFactory.RemoveHandler(typeof(RPRegistrationDelegatingHandler));
     }
 }
示例#7
0
 protected override void TearDownDebuggingTraces()
 {
     ServiceClientTracingInterceptor.RemoveTracingInterceptor(_serviceClientTracingInterceptor);
     _serviceClientTracingInterceptor = null;
     base.TearDownDebuggingTraces();
 }
示例#8
0
 protected override void SetupDebuggingTraces()
 {
     base.SetupDebuggingTraces();
     _serviceClientTracingInterceptor = _serviceClientTracingInterceptor 
         ?? new ServiceClientTracingInterceptor(DebugMessages);
      ServiceClientTracing.AddTracingInterceptor(_serviceClientTracingInterceptor);
 }
示例#9
0
 protected override void TearDownDebuggingTraces()
 {
     ServiceClientTracingInterceptor.RemoveTracingInterceptor(_serviceClientTracingInterceptor);
     _serviceClientTracingInterceptor = null;
     base.TearDownDebuggingTraces();
 }