TelemetrySession.DisposeToNetworkAsync(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.
Asynchronously dispose and try to send all telemetry over the network.
public:
System::Threading::Tasks::Task ^ DisposeToNetworkAsync(System::Threading::CancellationToken token);
public System.Threading.Tasks.Task DisposeToNetworkAsync (System.Threading.CancellationToken token);
member this.DisposeToNetworkAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DisposeToNetworkAsync (token As CancellationToken) As Task
Parameters
- token
- CancellationToken
Returns
Task to wait on