IRemoteWpfUserControl.InitializeAsync 메서드

정의

이 메서드는 컨트롤의 데이터 템플릿 및 해당 데이터 컨텍스트를 설명하는 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

컨트롤 데이터 텍스트 변경에 대한 알림을 받을 개체입니다.

         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 문자열입니다.

적용 대상