A class used to gather WinAPI error information.
More...
List of all members.
Public Member Functions |
| | Error () |
| | The default Error class contsructor, autmatically sets ErrorCode = Marshal.GetLastWin32Error()
|
| | Error (int code) |
| | A Error class contructor to set a specific error code.
|
| override string | ToString () |
| | Returns the human readable error error information.
|
Properties |
| int | Code [get, set] |
| | The WinAPI Error Code returned from GetLastError.
|
| string | Message [get, set] |
| | A human readable error message.
|
Detailed Description
A class used to gather WinAPI error information.
Definition at line 33 of file WinAPI.cs.
Constructor & Destructor Documentation
| Sylloge.WinAPI.Error.Error |
( |
| ) |
|
The default Error class contsructor, autmatically sets ErrorCode = Marshal.GetLastWin32Error()
Definition at line 51 of file WinAPI.cs.
| Sylloge.WinAPI.Error.Error |
( |
int |
code | ) |
|
A Error class contructor to set a specific error code.
- Parameters:
-
| code | The WinAPI error code to pass in |
Definition at line 61 of file WinAPI.cs.
Member Function Documentation
| override string Sylloge.WinAPI.Error.ToString |
( |
| ) |
|
Returns the human readable error error information.
- Returns:
Definition at line 71 of file WinAPI.cs.
Property Documentation
int Sylloge.WinAPI.Error.Code [get, set] |
The WinAPI Error Code returned from GetLastError.
Definition at line 42 of file WinAPI.cs.
string Sylloge.WinAPI.Error.Message [get, set] |
A human readable error message.
Definition at line 46 of file WinAPI.cs.
The documentation for this class was generated from the following file: