Click or drag to resize
ValidationHelperGetHResult Method
Converts HResult (ErrorCode) from exception to format comparable with error codes in hex format.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static long GetHResult(
	int code
)

Parameters

code
Type: SystemInt32
Code to convert

Return Value

Type: Int64
Code in comparable format (0x800ABCDE)
See Also