TelemetryClient.FlushAndTransmitAsync(CancellationToken) Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.TaskPublic Function FlushAndTransmitAsync (token As CancellationToken) As TaskParameters
- token
- CancellationToken
Cancellation token
Returns
Waitable and cancellable task