Show / Hide Table of Contents

Class InputDesktopException

This exception is thrown when current thread is not on the input desktop and therefore cannot use mouse, keyboard, clipboard and window functions. For example when PC locked (Win+L), screen saver, UAC consent, Ctrl+Alt+Delete.

public class InputDesktopException : AuException, ISerializable

Namespace: Au.Types
Assembly: Au.dll
Inheritance
object
Exception
AuException
InputDesktopException
Inherited Members
AuException.NativeErrorCode
AuException.Message
AuException.FormattedMessage
AuException.FormatMessage(string, string)
AuException.ThrowIfHresultNot0(int, string)
AuException.ThrowIfHresultNegative(int, string)
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState

Constructors

Name Description
InputDesktopException(string)

Methods

Name Description
ThrowIfBadDesktop(string, bool)

Calls miscInfo.isInputDesktop. If it returns false, throws InputDesktopException.

Extension Methods

ExtMisc.ToStringWithoutStack(Exception)

See Also

miscInfo.isInputDesktop