Inheritance: IServiceClientTracingInterceptor
 public static void RemoveTracingInterceptor(ServiceClientTracingInterceptor interceptor)
 {
     if (interceptor != null)
     {
         ServiceClientTracing.RemoveTracingInterceptor(interceptor);
     }
 }
Example #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);
 }
Example #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));
     }
 }
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing && _serviceClientTracingInterceptor != null)
     {
         ServiceClientTracingInterceptor.RemoveTracingInterceptor(_serviceClientTracingInterceptor);
         _serviceClientTracingInterceptor = null;
         AzureSession.ClientFactory.RemoveHandler(typeof(RPRegistrationDelegatingHandler));
     }
 }
 protected override void TearDownDebuggingTraces()
 {
     ServiceClientTracingInterceptor.RemoveTracingInterceptor(_serviceClientTracingInterceptor);
     _serviceClientTracingInterceptor = null;
     base.TearDownDebuggingTraces();
 }
 protected override void SetupDebuggingTraces()
 {
     base.SetupDebuggingTraces();
     _serviceClientTracingInterceptor = _serviceClientTracingInterceptor 
         ?? new ServiceClientTracingInterceptor(DebugMessages);
      ServiceClientTracing.AddTracingInterceptor(_serviceClientTracingInterceptor);
 }
Example #9
0
 protected override void TearDownDebuggingTraces()
 {
     ServiceClientTracingInterceptor.RemoveTracingInterceptor(_serviceClientTracingInterceptor);
     _serviceClientTracingInterceptor = null;
     base.TearDownDebuggingTraces();
 }