Share via


FullTrustProcessLauncher.LaunchFullTrustProcessForAppWithArgumentsAsync Metodo

Definizione

Avviare il processo di trust completo per l'ID applicazione specificato con i parametri della riga di comando specificati.

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)

Parametri

fullTrustPackageRelativeAppId
String

Platform::String

winrt::hstring

Identificatore dell'applicazione relativa al processo dell'app il cui componente completo del processo di attendibilità il chiamante vuole avviare. Il processo di attendibilità completa può analizzare questa operazione per determinare l'app richiamata.

commandLine
String

Platform::String

winrt::hstring

Argomenti della riga di comando con cui avviare il processo.

Restituisce

Operazione asincrona che restituisce un oggetto FullTrustProcessLaunchResult al completamento.

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows Desktop Extension SDK (è stato introdotto in 10.0.22000.0)
API contract
Windows.ApplicationModel.FullTrustAppContract (è stato introdotto in v2.0)

Si applica a