Partager via


ExtensibilityDiagnosticEventManager.InitializeAsync(CancellationToken) Method

Definition

Completes the initialization of the object asynchronously. This must be called immediately after creating an instance of this object.

protected virtual System.Threading.Tasks.Task InitializeAsync (System.Threading.CancellationToken cancellationToken);
abstract member InitializeAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.InitializeAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function InitializeAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task to track the async work.

Applies to