Bagikan melalui


FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppWithArgumentsAsync Metode

Definisi

Luncurkan proses kepercayaan penuh dengan parameter baris perintah yang ditentukan.

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

Argumen baris perintah untuk meluncurkan proses.

Mengembalikan

Operasi asinkron yang mengembalikan FullTrustProcessLaunchResult setelah selesai.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows Desktop Extension SDK (diperkenalkan dalam 10.0.22000.0)
API contract
Windows.ApplicationModel.FullTrustAppContract (diperkenalkan dalam v2.0)

Berlaku untuk