Agent365ExporterAsync.ExportAsync Method

Definition

Exports a batch of OpenTelemetry activities to the Microsoft Agent 365 observability platform asynchronously.

public override System.Threading.Tasks.Task ExportAsync(System.Collections.Generic.IReadOnlyCollection<System.Diagnostics.Activity> batch, System.Threading.CancellationToken cancellationToken);
override this.ExportAsync : System.Collections.Generic.IReadOnlyCollection<System.Diagnostics.Activity> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ExportAsync (batch As IReadOnlyCollection(Of Activity), cancellationToken As CancellationToken) As Task

Parameters

batch
IReadOnlyCollection<Activity>

The batch of activities to export.

cancellationToken
CancellationToken

A token to monitor for cancellation requests.

Returns

A Task representing the asynchronous export operation.

Applies to