DisplayManagerResult Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines constants that specify the result of a DisplayManager operation.
public enum class DisplayManagerResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class DisplayManagerResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum DisplayManagerResult
var value = Windows.Devices.Display.Core.DisplayManagerResult.success
Public Enum DisplayManagerResult
- Inheritance
-
DisplayManagerResult
- Attributes
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Fields
Name | Value | Description |
---|---|---|
Success | 0 | Indicates that the operation succeeded. |
UnknownFailure | 1 | Indicates that the operation failed for an unknown reason. |
TargetAccessDenied | 2 | Indicates that the operation failed becaused a specified target could not be acquired, either due to another component currently owning it, or due to target ownership restrictions. |
TargetStale | 3 | Indicates that the operation failed because a specified target is stale and should be re-enumerated. |
RemoteSessionNotSupported | 4 | Indicates that the operation failed because the current session is currently in an unsupported remote desktop session that does not allow access to the display stack. |