public interface IDesktopInhibitionLease : IAsyncDisposable An operation-owned native inhibition request. Dispose as soon as the operation ends.
Remarks
Holding this request does not override user actions, battery/thermal policy or forced shutdown.
Properties
Effects
DesktopInhibitionEffects Effects { get; } The requested effects, not a guarantee that desktop policy honors them.