Sdílet prostřednictvím


IToolWindowProvider.CreateToolWindowAsync(String, CancellationToken) Metoda

Definice

Vytvoří a inicializuje okno nástroje přidružené k danému identifikátoru.

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)

Parametry

identifier
String

Identifikátor okna nástroje

cancellationToken
CancellationToken

A CancellationToken pro zrušení probíhající inicializace.

Návraty

Představuje IRemoteProxiedUserControl obsah uživatelského rozhraní okna nástroje.

Platí pro