ProcessLauncher 類別

定義

如果有的話,啟動具有相關聯引數的指定進程。

public ref class ProcessLauncher abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.SystemManagementContract, 131072)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProcessLauncher final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.SystemManagementContract), 131072)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class ProcessLauncher
Public Class ProcessLauncher
繼承
Object Platform::Object IInspectable ProcessLauncher
屬性

Windows 需求

裝置系列
Windows IoT Extension SDK (已於 10.0.10586.0 引進)
API contract
Windows.System.SystemManagementContract (已於 v2.0 引進)
應用程式功能
systemManagement

備註

此 API 需要使用 IoT 系統管理 功能。 使用者可以將下列內容新增至其 Package.appmanifest <iot:Capability Name="systemManagement"/>

方法

RunToCompletionAsync(String, String)

啟動新的程式。 這個非同步函式會在啟動的進程終止時完成。

RunToCompletionAsync(String, String, ProcessLauncherOptions)

啟動新的程式,包括指定的選項。 這個非同步函式會在啟動的進程終止時完成。

適用於