Méthode | Description | |
---|---|---|
GetExceptionForLastWin32Error ( ) : |
Converts, resetting it, the last Win32 error into a corresponding Exception object.
|
|
GetExceptionForLastWin32Error ( string path ) : |
Converts, resetting it, the last Win32 error into a corresponding Exception object, optionally including the specified path in the error message.
|
|
GetExceptionForWin32Error ( int errorCode ) : |
Converts the specified Win32 error into a corresponding Exception object.
|
|
GetExceptionForWin32Error ( int errorCode, string path ) : |
Converts the specified Win32 error into a corresponding Exception object, optionally including the specified path in the error message.
|
|
GetMessage ( int errorCode ) : string |
Returns a string message for the specified Win32 error code.
|
|
MakeHRFromErrorCode ( int errorCode ) : int |
Returns a HRESULT for the specified Win32 error code.
|
|
TryMakeWin32ErrorCodeFromHR ( int hr ) : int |
Returns a Win32 error code for the specified HRESULT if it came from FACILITY_WIN32 If not, returns the HRESULT unchanged
|