FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppWithArgumentsAsync 方法

定义

使用指定的命令行参数启动完全信任进程。

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

参数

commandLine
String

Platform::String

winrt::hstring

用于启动进程的命令行参数。

返回

完成时返回 FullTrustProcessLaunchResult 的异步操作。

属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.22000.0 中引入)
API contract
Windows.ApplicationModel.FullTrustAppContract (在 v2.0 中引入)

适用于