IToolWindowManager.ShowAsync(String, Boolean, 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.
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.