<PackageReference Include="Microsoft.ApplicationInsights" Version="2.23.0" />

Microsoft.ApplicationInsights.Channel.TelemetryBuffer

Accumulates ITelemetry items for efficient transmission.
public Action OnFull

Delegate that is raised when the buffer is full.

public int BacklogSize { get; set; }

Gets or sets the maximum number of telemetry items that can be in the backlog to send. Items will be dropped once this limit is hit.

public int Capacity { get; set; }

Gets or sets the maximum number of telemetry items that can be buffered before transmission.

public virtual IEnumerable<ITelemetry> Dequeue()

public void Enqueue(ITelemetry item)