Share via


FullTrustProcessLauncher.LaunchFullTrustProcessForAppAsync 方法

定义

重载

LaunchFullTrustProcessForAppAsync(String)

启动指定应用程序 ID 的完全信任进程。

LaunchFullTrustProcessForAppAsync(String, String)

使用参数启动指定应用程序 ID 的完全信任进程。

LaunchFullTrustProcessForAppAsync(String)

启动指定应用程序 ID 的完全信任进程。

public:
 static IAsyncAction ^ LaunchFullTrustProcessForAppAsync(Platform::String ^ fullTrustPackageRelativeAppId);
/// [Windows.Foundation.Metadata.Overload("LaunchFullTrustProcessForAppAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction LaunchFullTrustProcessForAppAsync(winrt::hstring const& fullTrustPackageRelativeAppId);
[Windows.Foundation.Metadata.Overload("LaunchFullTrustProcessForAppAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction LaunchFullTrustProcessForAppAsync(string fullTrustPackageRelativeAppId);
function launchFullTrustProcessForAppAsync(fullTrustPackageRelativeAppId)
Public Shared Function LaunchFullTrustProcessForAppAsync (fullTrustPackageRelativeAppId As String) As IAsyncAction

参数

fullTrustPackageRelativeAppId
String

Platform::String

winrt::hstring

调用方要启动其完全信任进程组件的应用的进程相对应用程序标识符。 完全信任过程可以对此进行分析,以确定哪个应用调用了它。

返回

要等待的 IAsyncAction

属性

Windows 要求

应用功能
previewHfx

另请参阅

适用于

LaunchFullTrustProcessForAppAsync(String, String)

使用参数启动指定应用程序 ID 的完全信任进程。

public:
 static IAsyncAction ^ LaunchFullTrustProcessForAppAsync(Platform::String ^ fullTrustPackageRelativeAppId, Platform::String ^ parameterGroupId);
/// [Windows.Foundation.Metadata.Overload("LaunchFullTrustProcessForAppWithParametersAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction LaunchFullTrustProcessForAppAsync(winrt::hstring const& fullTrustPackageRelativeAppId, winrt::hstring const& parameterGroupId);
[Windows.Foundation.Metadata.Overload("LaunchFullTrustProcessForAppWithParametersAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction LaunchFullTrustProcessForAppAsync(string fullTrustPackageRelativeAppId, string parameterGroupId);
function launchFullTrustProcessForAppAsync(fullTrustPackageRelativeAppId, parameterGroupId)
Public Shared Function LaunchFullTrustProcessForAppAsync (fullTrustPackageRelativeAppId As String, parameterGroupId As String) As IAsyncAction

参数

fullTrustPackageRelativeAppId
String

Platform::String

winrt::hstring

调用方要启动其完全信任进程组件的应用的进程相对应用程序标识符。 完全信任过程可以对此进行分析,以确定哪个应用调用了它。

parameterGroupId
String

Platform::String

winrt::hstring

将传递给启动进程的参数的参数组 ID。

返回

要等待的 IAsyncAction

属性

Windows 要求

应用功能
previewHfx

另请参阅

适用于