BaseExporterAsync<T> Class

Definition

Abstract base class for asynchronous exporters of telemetry objects.

public abstract class BaseExporterAsync<T> : IDisposable where T : class
type BaseExporterAsync<'T (requires 'T : null)> = class
    interface IDisposable
Public MustInherit Class BaseExporterAsync(Of T)
Implements IDisposable

Type Parameters

T

The type of telemetry object to export.

Inheritance
BaseExporterAsync<T>
Derived
Implements

Constructors

Name Description
BaseExporterAsync<T>()

Methods

Name Description
Dispose()

Releases resources used by the exporter.

ExportAsync(IReadOnlyCollection<T>, CancellationToken)

Exports a batch of telemetry objects asynchronously.

ForceFlushAsync(CancellationToken)

Flushes any buffered telemetry data asynchronously.

ShutdownAsync(CancellationToken)

Shuts down the exporter asynchronously, releasing any resources if necessary.

Applies to