Microsoft.ApplicationInsights.Channel.InMemoryChannel
public class InMemoryChannel : ITelemetryChannel, IDisposable, IAsyncFlushable, ISupportCredentialEnvelope
Represents a communication channel for sending telemetry to Application Insights via HTTPS. There will be a buffer that will not be persisted, to enforce the
queued telemetry items to be sent, Flush should be called.
Gets or sets the maximum number of telemetry items that can be in the backlog to send. This is a hard limit
and Items will be dropped by the InMemoryChannel once this limit is hit until items are drained from the buffer.
Gets or sets a value indicating whether developer mode of telemetry transmission is enabled.
Gets or sets the HTTP address where the telemetry is sent.
Gets or sets the maximum number of telemetry items will accumulate in a memory before
the InMemoryChannel serializing them for transmission to Application Insights.
This is not a hard limit on how many unsent items can be in the buffer.
Gets or sets the sending interval. Once the interval expires, InMemoryChannel
serializes the accumulated telemetry items for transmission and sends it over the wire.
public InMemoryChannel()
Initializes a new instance of the InMemoryChannel class.
Disposing the channel.
Dispose the channel if not already disposed.
Will send all the telemetry items stored in the memory.
Will send all the telemetry items stored in the memory.
Will send all the telemetry items stored in the memory asynchronously.
Sends an instance of ITelemetry through the channel.