HResultHelper Methods |
[This is preliminary documentation and is subject to change.]
The HResultHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateToString |
Creates the default ToString implementation for CodedExceptions, with the optional addition of custom text.
| |
| EnumToInt32 |
Returns the integer value of an enumeration value.
| |
| GetBaseHResult |
Gets the HRESULT base value for the specified facility identifier.
| |
| GetErrorId |
Gets the error identifier part of an HResult.
| |
| GetFacilityId |
Gets the facility (= the assembly) identifier part of an HResult.
| |
| HexStringToByteArray |
Converts a string of hexadecimal values into a byte array.
| |
| IsCustomHResult |
Checks if the specified HRESULT is a custom error value.
|