Share via


ILatencyDataExporter.ExportAsync(LatencyData, CancellationToken) Method

Definition

Exports latency data.

public:
 System::Threading::Tasks::Task ^ ExportAsync(Microsoft::Extensions::Diagnostics::Latency::LatencyData data, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task ExportAsync (Microsoft.Extensions.Diagnostics.Latency.LatencyData data, System.Threading.CancellationToken cancellationToken);
abstract member ExportAsync : Microsoft.Extensions.Diagnostics.Latency.LatencyData * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ExportAsync (data As LatencyData, cancellationToken As CancellationToken) As Task

Parameters

data
LatencyData

The latency context's latency data.

cancellationToken
CancellationToken

The cancellation token.

Returns

A Task that represents the export operation.

Applies to