Here are the examples of the csharp api class Microsoft.ApplicationInsights.Extensibility.SdkInternalOperationsMonitor.Exit() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
4 Examples
0
1. Example
Project: ApplicationInsights-dotnet
Source File: InMemoryTransmitter.cs
Source File: InMemoryTransmitter.cs
internal void Flush(TimeSpan timeout) { SdkInternalOperationsMonitor.Enter(); try { this.DequeueAndSend(timeout); } finally { SdkInternalOperationsMonitor.Exit(); } }
0
2. Example
Project: ApplicationInsights-dotnet
Source File: InMemoryTransmitter.cs
Source File: InMemoryTransmitter.cs
private void Runner() { SdkInternalOperationsMonitor.Enter(); try { using (this.startRunnerEvent = new AutoResetEvent(false)) { while (this.enabled) { // Pulling all items from the buffer and sending as one transmission. this.DequeueAndSend(timeout: default(TimeSpan)); // when default(TimeSpan) is provided, value is ignored and default timeout of 100 sec is used // Waiting for the flush delay to elapse this.startRunnerEvent.WaitOne(this.sendingInterval); } } } finally { SdkInternalOperationsMonitor.Exit(); } }
0
3. Example
Project: ApplicationInsights-dotnet
Source File: TelemetryConfigurationFactory.cs
Source File: TelemetryConfigurationFactory.cs
public virtual void Initialize(TelemetryConfiguration configuration, TelemetryModules modules, strin/n ..... /n //View Source file for more details /n }
0
4. Example
Project: ApplicationInsights-dotnet
Source File: TransmissionSender.cs
Source File: TransmissionSender.cs
private async Task StartSending(Transmission transmission) { SdkInternalOperatio/n ..... /n //View Source file for more details /n }