DisplayManagerResultWithState 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含 DisplayManager 操作的状态,如果操作成功,则包含生成的 DisplayState 。
public ref class DisplayManagerResultWithState sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DisplayManagerResultWithState final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DisplayManagerResultWithState
Public NotInheritable Class DisplayManagerResultWithState
- 继承
- 属性
Windows 要求
设备系列 |
Windows 10, version 1809 (在 10.0.17763.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)
|
属性
ErrorCode |
获取一个值,该值指示操作的成功或错误状态。 |
ExtendedErrorCode |
获取一个 HRESULT 值,该值指示操作如何成功或失败。 |
State |
如果成功,则获取由操作生成的 DisplayState 对象。 |