public static class WindowPlatformServices Window platform services for hosts that cannot provide them.
Properties
CapabilityIds
public static ImmutableArray<string> CapabilityIds { get; } The capability identifiers a window's platform services report: every PlatformCapabilityIds constant.
Methods
Unavailable
public static IWindowPlatformServices Unavailable(PlatformUnavailableReason reason) Creates services that report every operation and capability unavailable for reason.
Remarks
Dialogs return Unavailable and the clipboard, launcher, IWindowPlatformServices.Monitors, IWindowPlatformServices.MessageBoxes, IWindowPlatformServices.AnnounceAsync, IWindowPlatformServices.ShowContextMenuAsync, IWindowPlatformServices.SetBadgeAsync, IWindowPlatformServices.SetProgressAsync and IWindowPlatformServices.StartDragAsync Unavailable; the clipboard is an IDesktopClipboard, whose watch reports the reason once and ends. Nothing throws except for invalid arguments and caller cancellation.