Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation.NetworkAvailabilityTransmissionPolicy.IsNetworkAvailable()

Here are the examples of the csharp api class Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation.NetworkAvailabilityTransmissionPolicy.IsNetworkAvailable() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: ApplicationInsights-dotnet
Source File: NetworkAvailabilityTransmissionPolicy.cs
private void SetBufferAndSenderCapacity()
        {
            if (!this.IsNetworkAvailable())
            {
                this.MaxSenderCapacity = 0;
                this.MaxBufferCapacity = 0;
            }
            else
            {
                this.MaxSenderCapacity = null;
                this.MaxBufferCapacity = null;
            }

            this.LogCapacityChanged();
        }