IRemoteWpfUserControl.InitializeAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このメソッドは、コントロールのデータ テンプレートと対応するデータ コンテキストを記述する xaml を取得します。
public System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteWpfUserControlDefinition> InitializeAsync(Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControlClient remoteUserControlClient, System.Threading.CancellationToken cancellationToken);
abstract member InitializeAsync : Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControlClient * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteWpfUserControlDefinition>
Public Function InitializeAsync (remoteUserControlClient As IRemoteProxiedUserControlClient, cancellationToken As CancellationToken) As Task(Of RemoteWpfUserControlDefinition)
パラメーター
- remoteUserControlClient
- IRemoteProxiedUserControlClient
コントロール datacontext に対する変更の通知を受け取る オブジェクト。
The class implementing <xref data-throw-if-not-resolved="true" uid="Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl"></xref> is responsible for disposing of
<code data-dev-comment-type="paramref">remoteUserControlClient</code> when <xref data-throw-if-not-resolved="true" uid="System.IDisposable.Dispose"></xref> is invoked on the
<xref data-throw-if-not-resolved="true" uid="Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl"></xref> instance.
- cancellationToken
- CancellationToken
非同期呼び出しのキャンセル トークン。
戻り値
データ テンプレートを記述する xaml 文字列。