Partager via


TelemetryClient.FlushAndTransmitAsync(CancellationToken) Method

Definition

Flushes channel and wait until transmit is fully completed. Wait can be cancelled by using CancellationToken.

public:
 System::Threading::Tasks::Task ^ FlushAndTransmitAsync(System::Threading::CancellationToken token);
public System.Threading.Tasks.Task FlushAndTransmitAsync (System.Threading.CancellationToken token);
member this.FlushAndTransmitAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function FlushAndTransmitAsync (token As CancellationToken) As Task

Parameters

token
CancellationToken

Cancellation token

Returns

Waitable and cancellable task

Applies to