BaseExporterAsync<T>.ExportAsync 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.
Exports a batch of telemetry objects asynchronously.
public abstract System.Threading.Tasks.Task ExportAsync(System.Collections.Generic.IReadOnlyCollection<T> batch, System.Threading.CancellationToken cancellationToken);
abstract member ExportAsync : System.Collections.Generic.IReadOnlyCollection<'T (requires 'T : null)> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function ExportAsync (batch As IReadOnlyCollection(Of T), cancellationToken As CancellationToken) As Task
Parameters
- batch
- IReadOnlyCollection<T>
The batch of telemetry objects to export.
- cancellationToken
- CancellationToken
A token to monitor for cancellation requests.
Returns
A Task representing the asynchronous export operation.