Click or drag to resize

HResultHelper Methods

[This is preliminary documentation and is subject to change.]

The HResultHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateToString
Creates the default ToString implementation for CodedExceptions, with the optional addition of custom text.
Public methodStatic memberEnumToInt32
Returns the integer value of an enumeration value.
Public methodStatic memberGetBaseHResult
Gets the HRESULT base value for the specified facility identifier.
Public methodStatic memberGetErrorId
Gets the error identifier part of an HResult.
Public methodStatic memberGetFacilityId
Gets the facility (= the assembly) identifier part of an HResult.
Public methodStatic memberHexStringToByteArray
Converts a string of hexadecimal values into a byte array.
Public methodStatic memberIsCustomHResult
Checks if the specified HRESULT is a custom error value.
Top
See Also