ShutdownKind 列舉

定義

描述您可以針對以固定用途模式執行的裝置執行的關機類型。

public enum class ShutdownKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.SystemManagementContract, 65536)]
enum class ShutdownKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.SystemManagementContract), 65536)]
public enum ShutdownKind
var value = Windows.System.ShutdownKind.shutdown
Public Enum ShutdownKind
繼承
ShutdownKind
屬性

Windows 需求

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

欄位

Restart 1

關閉固定用途的裝置,然後重新開機裝置。

Shutdown 0

關閉固定用途的裝置,而不重新開機裝置。

適用於

另請參閱