DisplayManagerResult Enum

Definition

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

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.

Success 0

Indicates that the operation succeeded.

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.

UnknownFailure 1

Indicates that the operation failed for an unknown reason.

Applies to