-api-id | -api-type | ms.custom |
---|---|---|
E:Windows.Devices.Display.Core.DisplayManager.Disabled |
winrt event |
RS5 |
An event raised whenever the current session's display stack is disabled, and when DisplayManager.Stop is called. You can disable the session display stack in several cases, such as switching Terminal Services sessions, or to recover from driver failures. We recommend that subscribers attempt to clean up when Disabled is invoked. Most display APIs will fail while the session display stack is disabled.
DisplayManager events are not raised until you call DisplayManager.Start.