IsolatedWindowsEnvironmentCreateStatus 枚举

定义

已弃用。 包含独立 Windows 环境创建状态的实际返回值。

public enum class IsolatedWindowsEnvironmentCreateStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
enum class IsolatedWindowsEnvironmentCreateStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentCreateStatus 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 IsolatedWindowsEnvironmentCreateStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
public enum IsolatedWindowsEnvironmentCreateStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentCreateStatus 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 IsolatedWindowsEnvironmentCreateStatus
var value = Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateStatus.success
Public Enum IsolatedWindowsEnvironmentCreateStatus
继承
IsolatedWindowsEnvironmentCreateStatus
属性

Windows 要求

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

字段

FailureByPolicy 1

由于策略配置,独立 Windows 环境创建失败。

Success 0

已成功创建独立 Windows 环境。

UnknownFailure 2

独立 Windows 环境创建失败,出现未知故障。

注解

警告

这是一个已弃用的 API。

适用于