IsolatedWindowsEnvironmentPostMessageStatus 枚举

定义

已弃用。 包含从主机到独立 Windows 环境状态的发布消息的实际返回值。

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

Windows 要求

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

字段

EnvironmentUnavailable 2

由于环境不可用,将消息从主机发布到独立 Windows 环境失败

Success 0

成功将消息从主机发布到独立 Windows 环境

UnknownFailure 1

将消息从主机发布到独立 Windows 环境失败,出现未知故障

注解

警告

这是一个已弃用的 API。

适用于