ToolWindow.ShowAsync(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.
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.