Partager via


ShellExtensibility.HideToolWindowAsync<T>(CancellationToken) Method

Definition

Hides the tool window of the given type.

public System.Threading.Tasks.Task HideToolWindowAsync<T> (System.Threading.CancellationToken cancellationToken) where T : Microsoft.VisualStudio.Extensibility.ToolWindows.ToolWindow;
member this.HideToolWindowAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task (requires 'T :> Microsoft.VisualStudio.Extensibility.ToolWindows.ToolWindow)
Public Function HideToolWindowAsync(Of T As ToolWindow) (cancellationToken As CancellationToken) As Task

Type Parameters

T

The type of the tool window.

Parameters

cancellationToken
CancellationToken

A CancellationToken to cancel the in-progress request.

Returns

A Task representing the asynchronous operation.

Applies to