次の方法で共有


IToolWindowProvider.CreateToolWindowAsync(String, CancellationToken) メソッド

定義

指定された識別子に関連付けられているツール ウィンドウを作成して初期化します。

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)

パラメーター

identifier
String

ツール ウィンドウの識別子。

cancellationToken
CancellationToken

CancellationToken進行中の初期化を取り消す 。

戻り値

IRemoteProxiedUserControlツール ウィンドウの UI コンテンツを表す 。

適用対象