Converts Win32 error code to a corresponding text message
Namespace:
PKI.Utils
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public static string GetMessage(
int errorCode
)
Public Shared Function GetMessage (
errorCode As Integer
) As String
public:
static String^ GetMessage(
int errorCode
)
static member GetMessage :
errorCode : int -> string
Parameters
- errorCode
- Type: SystemInt32
An error numeric value. A value can be passed as signed, unsigned integer or as a HEX string.
Return Value
Type:
StringText representation of the error code.
Remarks When error code is passed as HEX, the string must be prepended with '0x' prefix.
See Also