ToolWindowProvider.OnShowAsync(String, 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.
Notifies that the tool window associated with the given identifier is being shown.
public System.Threading.Tasks.Task OnShowAsync (string identifier, System.Threading.CancellationToken cancellationToken);
abstract member OnShowAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnShowAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OnShowAsync (identifier As String, cancellationToken As CancellationToken) As Task
Parameters
- identifier
- String
The tool window identifier.
- cancellationToken
- CancellationToken
A CancellationToken to cancel the in-progress request.
Returns
A Task representing the asynchronous operation.