internal HttpDesktopDiagnosticSourceSubscriber( HttpDesktopDiagnosticSourceListener parent, ApplicationInsightsUrlFilter applicationInsightsUrlFilter) { this.parent = parent; this.applicationInsightsUrlFilter = applicationInsightsUrlFilter; try { this.allListenersSubscription = DiagnosticListener.AllListeners.Subscribe(this); } catch (Exception ex) { DependencyCollectorEventSource.Log.HttpDesktopDiagnosticSubscriberFailedToSubscribe(ex.ToInvariantString()); } }
internal HttpDesktopDiagnosticSourceSubscriber(HttpDesktopDiagnosticSourceListener parent) { this.parent = parent; this.allListenersSubscription = DiagnosticListener.AllListeners.Subscribe(this); }