Show / Hide Table of Contents

Method wnd.ThrowUseNative(+ 3 overloads)


Overload

Throws AuWndException that uses the last Windows API error (code and message). Also the message depends on whether the window handle is 0/invalid.

public void ThrowUseNative()
Exceptions
AuWndException

Overload(next)

Throws AuWndException that uses the specified Windows API error code and its message. Also the message depends on whether the window handle is 0/invalid.

public void ThrowUseNative(int errorCode)
Parameters
errorCode  (int)
Exceptions
AuWndException

Overload(next)

Throws AuWndException that uses mainMessage and the last Windows API error (code and message). Also the message depends on whether the window handle is 0/invalid.

public void ThrowUseNative(string mainMessage)
Parameters
mainMessage  (string)
Exceptions
AuWndException

Overload(top)

Throws AuWndException that uses mainMessage and the specified Windows API error code. Also the message depends on whether the window handle is 0/invalid.

public void ThrowUseNative(int errorCode, string mainMessage)
Parameters
errorCode  (int)
mainMessage  (string)
Exceptions
AuWndException