IToolWindowProvider.CreateToolWindowAsync(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.
Creates and initializes the tool window associated with the given identifier.
public System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteUserControl> CreateToolWindowAsync (string identifier, System.Threading.CancellationToken cancellationToken);
abstract member CreateToolWindowAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteUserControl>
Public Function CreateToolWindowAsync (identifier As String, cancellationToken As CancellationToken) As Task(Of IRemoteUserControl)
Parameters
- identifier
- String
The tool window's identifier.
- cancellationToken
- CancellationToken
A CancellationToken to cancel the in-progress initialization.
Returns
The IRemoteProxiedUserControl representing the tool window's UI content.