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
컨트롤 데이터 텍스트 변경에 대한 알림을 받을 개체입니다.
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 문자열입니다.