public sealed record DesktopPowerEvent : IEquatable<DesktopPowerEvent> A power or session event, with the state after it.
Parameters
KindWhat happened.
StateThe state after the event.
Constructors
DesktopPowerEvent
public DesktopPowerEvent(DesktopPowerEventKind Kind, DesktopPowerState State) A power or session event, with the state after it.
Parameters
KindWhat happened.
StateThe state after the event.