RemoveTracingInterceptor() публичный статический Метод

public static RemoveTracingInterceptor ( ServiceClientTracingInterceptor interceptor ) : void
interceptor ServiceClientTracingInterceptor
Результат void
Пример #1
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));
     }
 }
Пример #2
0
 protected override void TearDownDebuggingTraces()
 {
     ServiceClientTracingInterceptor.RemoveTracingInterceptor(_serviceClientTracingInterceptor);
     _serviceClientTracingInterceptor = null;
     base.TearDownDebuggingTraces();
 }