다음을 통해 공유


ExtensionPart.InitializeAsync(CancellationToken) Method

Definition

Provides an asynchronous way for extension parts to initialize their fields. This method is called before the instance is handed to Visual Studio.

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

Cancellation token to monitor.

Returns

a Task indicating completion.

Applies to