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 引進)
|
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應