FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppWithArgumentsAsync Méthode

Définition

Lancez le processus de confiance totale avec les paramètres de ligne de commande spécifiés.

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)

Paramètres

commandLine
String

Platform::String

winrt::hstring

Arguments de ligne de commande avec lesquels lancer le processus.

Retours

Opération asynchrone qui retourne un FullTrustProcessLaunchResult à l’achèvement.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows Desktop Extension SDK (introduit dans 10.0.22000.0)
API contract
Windows.ApplicationModel.FullTrustAppContract (introduit dans v2.0)

S’applique à