ShellExtensibility.HideToolWindowAsync<T>(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.
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.