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)

Применяется к