Helper class with various methods to help native coding and debugging.
More...
Helper class with various methods to help native coding and debugging.
static string TriDevs.TriEngine.Native.Helpers.GetErrorMessage |
( |
int |
err | ) |
|
|
static |
Gets the error message associated with an error code.
- Parameters
-
err | The error code to get information about. |
- Returns
- The error message.
75 return GetWin32Exception(err).Message;
77 throw new System.NotImplementedException();
static int TriDevs.TriEngine.Native.Helpers.GetLastError |
( |
| ) |
|
|
static |
Gets the last error that was thrown.
- Returns
- The error code associated with the thrown error.
45 return Marshal.GetLastWin32Error();
47 throw new System.NotImplementedException();
static int TriDevs.TriEngine.Native.Helpers.GetLastErrorInfo |
( |
out string |
message | ) |
|
|
static |
Gets information about the last error that was thrown.
- Parameters
-
message | Will be set to the error message. |
- Returns
- The error code associated with the thrown error.
60 message = GetWin32Exception(err).Message;
62 throw new System.NotImplementedException();
static string TriDevs.TriEngine.Native.Helpers.GetLastErrorMessage |
( |
| ) |
|
|
static |
Gets the error message associated with the last thrown error.
- Returns
- The error message.
The documentation for this class was generated from the following file: