Agent365ExporterAsync.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 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.