Here are the examples of the csharp api class Microsoft.ApplicationInsights.Extensibility.TelemetrySink.EnsureNotDisposed() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: ApplicationInsights-dotnet
Source File: TelemetrySink.cs
Source File: TelemetrySink.cs
public void Initialize(TelemetryConfiguration configuration) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } this.EnsureNotDisposed(); this.telemetryConfiguration = configuration; (this.telemetryChannel as ITelemetryModule)?.Initialize(configuration); foreach (var telemetryProcessor in this.TelemetryProcessorChain.TelemetryProcessors) { (telemetryProcessor as ITelemetryModule)?.Initialize(configuration); } }