BaseExporterAsync<T> Class
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.
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. |