ValidationHelperGetHResult Method |
Converts HResult (ErrorCode) from exception to format comparable with error codes in hex format.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static long GetHResult(
int code
)
Parameters
- code
- Type: SystemInt32
Code to convert
Return Value
Type:
Int64Code in comparable format (0x800ABCDE)
See Also