Partager via


ToolWindow.OnShowAsync(CancellationToken) Method

Definition

Notifies that the tool window is being shown.

public virtual System.Threading.Tasks.Task OnShowAsync (System.Threading.CancellationToken cancellationToken);
abstract member OnShowAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnShowAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function OnShowAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

A cancellation token to cancel the in-progress show.

Returns

A Task representing the asynchronous operation.

Applies to