ProcessLauncherOptions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定用來啟動指定進程的選項。
public ref class ProcessLauncherOptions sealed
/// [Windows.Foundation.Metadata.Activatable(131072, "Windows.System.SystemManagementContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.SystemManagementContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProcessLauncherOptions final
[Windows.Foundation.Metadata.Activatable(131072, "Windows.System.SystemManagementContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.SystemManagementContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ProcessLauncherOptions
function ProcessLauncherOptions()
Public NotInheritable Class ProcessLauncherOptions
- 繼承
- 屬性
Windows 需求
裝置系列 |
Windows IoT Extension SDK (已於 10.0.10586.0 引進)
|
API contract |
Windows.System.SystemManagementContract (已於 v2.0 引進)
|
建構函式
ProcessLauncherOptions() |
建立並初始化進程啟動器選項物件的新實例。 |
屬性
StandardError |
指定將標準錯誤導向至何處。 |
StandardInput |
指定標準輸入的來源位置。 |
StandardOutput |
指定將標準輸出導向至何處。 |
WorkingDirectory |
取得或設定進程啟動器將運作的目錄。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應