FullTrustProcessLauncher.LaunchFullTrustProcessForAppWithArgumentsAsync Metode

Definisi

Luncurkan proses kepercayaan penuh untuk ID aplikasi yang ditentukan dengan parameter baris perintah yang ditentukan.

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

Parameter

fullTrustPackageRelativeAppId
String

Platform::String

winrt::hstring

Pengidentifikasi aplikasi relatif proses aplikasi yang komponen proses kepercayaan penuhnya ingin diluncurkan oleh pemanggil. Proses kepercayaan penuh dapat mengurai ini untuk menentukan aplikasi mana yang memanggilnya.

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