RTX64Exception Class

This class is the base class of all RTX64 exception classes.
Inheritance Hierarchy
SystemObject
  SystemException
    IntervalZero.RTX64RTX64Exception

Namespace:  IntervalZero.RTX64
Assembly:  IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 4.0.0.0 (File version: 4.5.0)

Syntax
public class RTX64Exception : Exception, 
	IDisposable

The RTX64Exception type exposes the following members.

Constructors
NameDescription
Public methodRTX64Exception(String)
Constructor with a message.
Public methodRTX64Exception(String, Exception)
Constructor with a message and inner exception.
Top
Properties
NameDescription
Protected propertyIsDisposed
true if the object has been disposed.
Top
Methods
NameDescription
Public methodDispose
Explicit dispose.
Protected methodDispose(Boolean)
Dispose of the object.
Protected methodFinalize
Finalizer.
Public methodStatic memberGetCustomErrorMessage
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 RTX64Win32Exception (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.
Public methodStatic memberGetExtendedExceptionMessage
Parse an exception to give a better error message.
Public methodStatic memberIsCustomError
Returns true if parameter win32ErrorCode is an RTX64 custom Win32 error code, false otherwise. Use method GetCustomErrorMessage to maps an RTX64 custom error code to a human-readable error message.
Top
See Also
Inheritance Hierarchy
SystemObject
  SystemException
    IntervalZero.RTX64RTX64Exception
      IntervalZero.RTX64RTX64ConfigReadException
      IntervalZero.RTX64RTX64InvalidArgumentException
      IntervalZero.RTX64RTX64InvalidEditionException
      IntervalZero.RTX64RTX64InvalidPropertyValueException
      IntervalZero.RTX64RTX64InvalidTcpIpStackLicense
      IntervalZero.RTX64RTX64NotConfiguredException