Method InputDesktopException.ThrowIfBadDesktop
Overload
Calls miscInfo.isInputDesktop. If it returns false, throws InputDesktopException.
public static void ThrowIfBadDesktop(string message = null, bool detectLocked = false)
Parameters
|
message (string)
Message text before the standard message text of this exception. |
| detectLocked (bool) |