ToolWindow.OnHideAsync(CancellationToken) Method

Definition

Notifies that the tool window is being hidden.

public virtual System.Threading.Tasks.Task OnHideAsync (System.Threading.CancellationToken cancellationToken);
abstract member OnHideAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnHideAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function OnHideAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

A cancellation token to cancel the in-progress hide.

Returns

A Task representing the asynchronous operation.

Applies to