ErrorHelperGetMessage Method

Converts Win32 error code to a corresponding text message

Definition

Namespace: SysadminsLV.PKI.Utils
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public static string GetMessage(
	int errorCode
)

Parameters

errorCode  Int32
An error numeric value. A value can be passed as signed, unsigned integer or as a HEX string.

Return Value

String
Text representation of the error code.

Remarks

When error code is passed as HEX, the string must be prepended with '0x' prefix.

See Also