public static class DesktopMonitors Monitors for hosts and platforms that cannot list them.
Methods
Unavailable
public static IDesktopMonitors Unavailable(PlatformUnavailableReason reason) Creates monitors that report every request unavailable for reason.
Exceptions
ArgumentOutOfRangeExceptionreasonis not defined.
Remarks
IDesktopMonitors.WatchAsync reports that value once and then waits for cancellation. Nothing throws except for caller cancellation.