RTX64Exception.GetCustomErrorMessage Method

RTX64 real-time APIs can fail with GetLastError returning a custom Win32 error code. Custom error codes have bit 29 set to mark them as application-specific error codes (per Microsoft standards). This method maps a custom Win32 error code to a human-readable message describing the error. When the RTX64 Managed Code Framework throws an exception of type Win32Exception (or when another type of exception has a Win32Exception object as the InnerException), you can obtain the underlying Win32 error code from property NativeErrorCode on the Win32Exception object.

Namespace:  IntervalZero.RTX64
Assembly:  IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 3.3.0.0 (File version: 3.5.0)

Syntax
public static string GetCustomErrorMessage(
	int customErrorCode
)

Parameters

customErrorCode
Type: SystemInt32

Return Value

Type: String
See Also