IsolatedWindowsEnvironmentHostError 枚举

定义

已弃用。 枚举器,表示在主机上创建独立 Windows 环境之前需要解决的可能错误列表。

public enum class IsolatedWindowsEnvironmentHostError
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
enum class IsolatedWindowsEnvironmentHostError
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentHostError is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
enum class IsolatedWindowsEnvironmentHostError
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
public enum IsolatedWindowsEnvironmentHostError
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentHostError is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public enum IsolatedWindowsEnvironmentHostError
var value = Windows.Security.Isolation.IsolatedWindowsEnvironmentHostError.adminPolicyIsDisabledOrNotPresent
Public Enum IsolatedWindowsEnvironmentHostError
继承
IsolatedWindowsEnvironmentHostError
属性

Windows 要求

设备系列
Windows 10, version 2004 (在 10.0.19041.0 中引入)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (在 v2.0 中引入)

字段

名称 说明
AdminPolicyIsDisabledOrNotPresent 0

未配置或禁用功能管理员策略

FeatureNotInstalled 1

尚未在设备上安装功能

HardwareRequirementsNotMet 2

设备不符合硬件要求

RebootRequired 3

需要重新启动

UnknownError 4

未知错误

注解

警告

这是一个已弃用的 API。

适用于