DialApp.RequestLaunchAsync(String) 메서드

정의

원격 디바이스에서 앱 시작을 시작합니다. 이 메서드가 호출되면 필요한 경우 DialDevice 가 페어링되고, 사용자에게 디바이스에 대한 액세스를 허용하라는 메시지가 표시되고, 연결이 설정되고, 디바이스에서 앱 존재의 유효성이 검사되고, 마지막으로 제공된 인수를 사용하여 애플리케이션이 시작됩니다.

public:
 virtual IAsyncOperation<DialAppLaunchResult> ^ RequestLaunchAsync(Platform::String ^ appArgument) = RequestLaunchAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<DialAppLaunchResult> RequestLaunchAsync(winrt::hstring const& appArgument);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<DialAppLaunchResult> RequestLaunchAsync(string appArgument);
function requestLaunchAsync(appArgument)
Public Function RequestLaunchAsync (appArgument As String) As IAsyncOperation(Of DialAppLaunchResult)

매개 변수

appArgument
String

Platform::String

winrt::hstring

선택 사항입니다.

반환

앱을 시작하려고 시도한 결과를 나타냅니다.

특성

설명

이 메서드는 UI 스레드에서 호출해야 합니다. 그렇지 않으면 예외가 throw됩니다. 다른 스레드에서 UI 스레드에 대한 호출을 디스패치하려면 CoreDispatcher.RunAsync를 사용할 수 있습니다.

적용 대상

추가 정보