共用方式為


ProcessLauncherOptions 類別

定義

指定用來啟動指定進程的選項。

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
繼承
Object Platform::Object IInspectable ProcessLauncherOptions
屬性

Windows 需求

裝置系列
Windows IoT Extension SDK (已於 10.0.10586.0 引進)
API contract
Windows.System.SystemManagementContract (已於 v2.0 引進)

建構函式

ProcessLauncherOptions()

建立並初始化進程啟動器選項物件的新實例。

屬性

StandardError

指定將標準錯誤導向至何處。

StandardInput

指定標準輸入的來源位置。

StandardOutput

指定將標準輸出導向至何處。

WorkingDirectory

取得或設定進程啟動器將運作的目錄。

適用於