FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppWithArgumentsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Launch the full-trust process with the specified command line parameters.
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)
Parameters
- commandLine
-
String
Platform::String
winrt::hstring
The command line arguments with which to launch the process.
Returns
An asynchronous operation that returns a FullTrustProcessLaunchResult on completion.
- Attributes
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.22000.0)
|
API contract |
Windows.ApplicationModel.FullTrustAppContract (introduced in v2.0)
|