Constructor AuWndException.AuWndException(+ 1 overload)
Overload
Sets Message = message (default "Failed."
).
Sets NativeErrorCode = w.IsAlive ? 0 : ERROR_INVALID_WINDOW_HANDLE
.
public AuWndException(wnd w, string message = "Failed.", Exception innerException = null)
Parameters
Overload(top)
Sets NativeErrorCode = (errorCode != 0) ? errorCode : (w.IsAlive ? lastError.code : ERROR_INVALID_WINDOW_HANDLE)
.
Sets Message = message + " " + lastError.messageFor(NativeErrorCode)
.
public AuWndException(wnd w, int errorCode, string message = "Failed.", Exception innerException = null)