Class AuWndException
Exception thrown mostly by wnd functions.
public class AuWndException : AuException, ISerializable
Remarks
Some constructors support Windows API error code. Then Message also will contain its error description.
If error code ERROR_INVALID_WINDOW_HANDLE, Message also depends on whether the window handle is 0.
If parameter errorCode is 0 or not used: if the window handle is invalid, uses ERROR_INVALID_WINDOW_HANDLE.
If the string passed to the constructor starts with "*"
, replaces the "*"
with "Failed to "
. If ends with "*"
, replaces the "*"
with " window."
. If does not end with "."
, appends "."
.
Namespace: Au.Types
Assembly: Au.dll
Inherited Members
Constructors
Name | Description |
---|---|
AuWndException(wnd, int, string, Exception) | Sets NativeErrorCode = |
AuWndException(wnd, string, Exception) | Sets Message = message (default |
Properties
Name | Description |
---|---|
Message | Gets error message. |
Window | Gets the window passed to the constructor. |