FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppWithArgumentsAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的命令列參數啟動完全信任程式。
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)
參數
- commandLine
-
String
Platform::String
winrt::hstring
要用來啟動進程的命令列引數。
傳回
非同步作業,會在完成時傳回 FullTrustProcessLaunchResult 。
- 屬性
Windows 需求
裝置系列 |
Windows Desktop Extension SDK (已於 10.0.22000.0 引進)
|
API contract |
Windows.ApplicationModel.FullTrustAppContract (已於 v2.0 引進)
|