Partager via


ToolWindow.ShowAsync(Boolean, CancellationToken) Method

Definition

Shows the tool window.

public System.Threading.Tasks.Task ShowAsync (bool activate, System.Threading.CancellationToken cancellationToken);
member this.ShowAsync : bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ShowAsync (activate As Boolean, cancellationToken As CancellationToken) As Task

Parameters

activate
Boolean

Whether or not to activate the tool window during the show. Activating a tool window will move focus into it.

cancellationToken
CancellationToken

A cancellation token to cancel the in-progress hide.

Returns

A Task representing the asynchronous operation.

Applies to