Compartir a través de


IToolWindowProvider.CreateToolWindowAsync(String, CancellationToken) Método

Definición

Crea e inicializa la ventana de herramientas asociada al identificador especificado.

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)

Parámetros

identifier
String

Identificador de la ventana de herramientas.

cancellationToken
CancellationToken

para CancellationToken cancelar la inicialización en curso.

Devoluciones

que IRemoteProxiedUserControl representa el contenido de la interfaz de usuario de la ventana de herramientas.

Se aplica a