FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppWithArgumentsAsync Methode

Definition

Starten Sie den voll vertrauenswürdigen Prozess mit den angegebenen Befehlszeilenparametern.

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)

Parameter

commandLine
String

Platform::String

winrt::hstring

Die Befehlszeilenargumente, mit denen der Prozess gestartet werden soll.

Gibt zurück

Ein asynchroner Vorgang, der bei Abschluss ein FullTrustProcessLaunchResult zurückgibt.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows Desktop Extension SDK (eingeführt in 10.0.22000.0)
API contract
Windows.ApplicationModel.FullTrustAppContract (eingeführt in v2.0)

Gilt für: