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

Microsoft.ApplicationInsights.Channel.ITelemetryChannel

public interface ITelemetryChannel : IDisposable
Represents a communication channel for sending telemetry to application insights.
bool? DeveloperMode { get; set; }

Gets or sets a value indicating whether this channel is in developer mode.

string EndpointAddress { get; set; }

Gets or sets the endpoint address of the channel.

void Flush()

Flushes the in-memory buffer.

void Send(ITelemetry item)

Sends an instance of ITelemetry through the channel.