ExtensibilityDiagnosticEventManager.InitializeAsync(CancellationToken) 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.
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.