This event is generated when an error occurs during a control
operation. The OnError event is typically fired when a method
is called which results in an error, or an error occurs during the
connection or authentication process.
The ErrorCode argument specifies the numeric error code.
The Remote Access Services subsystem returns errors in the range of
600 to 800. These are automatically converted to 10600 through 10800
to avoid conflicts with standard error codes. For example, error
10676 corresponds to the RAS error 676, which indicates that the line
is busy.
The Description argument contains a description of the
error.