public sealed class DesktopLifecycleThe process's lifecycle on a desktop, where most of it never happens.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
No desktop suspends a process, so Suspended is unreachable here and Suspension is absent. Background is reachable and is tracked from window focus, because it is worth knowing: an application with no focused window can drop its frame rate without anybody noticing, and on a laptop that is the difference between a warm palm rest and a cool one.
Fields and properties (3)
public ApplicationState StateWhere the application is now.
public MemoryPressure MemoryPressureAlways Normal: no desktop reports memory pressure to a process.
public bool IsQuitRequestedWhether a quit has been requested and not yet cancelled.
Methods (3)
public DesktopLifecycle(PlatformEventBuffer events)The process's lifecycle on a desktop, where most of it never happens.
public void RequestQuit()Asks the application to quit.
public void CancelQuit()Withdraws a quit request.
Used by (1)
- DesktopPlatformVixen.Platform.Desktop