FullTrustProcessLauncher.LaunchFullTrustProcessForAppWithArgumentsAsync 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 for the specified application ID with the specified command line parameters.
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)
Parameters
- fullTrustPackageRelativeAppId
-
String
Platform::String
winrt::hstring
The process-relative application identifier of the app whose full trust process component the caller wants to launch. The full-trust process can parse this to determine which app invoked it.
- 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)
|