Share via


IToolWindowManager.ShowAsync(String, Boolean, CancellationToken) Method

Definition

Shows the tool window associated with the given identifier.

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

Parameters

identifier
String

The tool window identifier.

activate
Boolean

Whether or not to activate the tool window while showing it. Activation moves focus into the tool window.

cancellationToken
CancellationToken

A CancellationToken to cancel the in-progress request.

Returns

A Task representing the asynchronous operation.

Applies to