Share via


FullTrustProcessLauncher.LaunchFullTrustProcessForAppWithArgumentsAsync メソッド

定義

指定したコマンド ライン パラメーターを使用して、指定したアプリケーション ID の完全信頼プロセスを起動します。

public:
 static IAsyncOperation<FullTrustProcessLaunchResult ^> ^ LaunchFullTrustProcessForAppWithArgumentsAsync(Platform::String ^ fullTrustPackageRelativeAppId, Platform::String ^ commandLine);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<FullTrustProcessLaunchResult> LaunchFullTrustProcessForAppWithArgumentsAsync(winrt::hstring const& fullTrustPackageRelativeAppId, winrt::hstring const& commandLine);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<FullTrustProcessLaunchResult> LaunchFullTrustProcessForAppWithArgumentsAsync(string fullTrustPackageRelativeAppId, string commandLine);
function launchFullTrustProcessForAppWithArgumentsAsync(fullTrustPackageRelativeAppId, commandLine)
Public Shared Function LaunchFullTrustProcessForAppWithArgumentsAsync (fullTrustPackageRelativeAppId As String, commandLine As String) As IAsyncOperation(Of FullTrustProcessLaunchResult)

パラメーター

fullTrustPackageRelativeAppId
String

Platform::String

winrt::hstring

呼び出し元が起動する完全信頼プロセス コンポーネントを持つアプリのプロセス相対アプリケーション識別子。 完全信頼プロセスでは、これを解析して、呼び出したアプリを特定できます。

commandLine
String

Platform::String

winrt::hstring

プロセスを起動するコマンド ライン引数。

戻り値

完了時に FullTrustProcessLaunchResult を返す非同期操作。

属性

Windows の要件

デバイス ファミリ
Windows Desktop Extension SDK (10.0.22000.0 で導入)
API contract
Windows.ApplicationModel.FullTrustAppContract (v2.0 で導入)

適用対象