Table of Contents

Class CadRemoteException

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

What the remote channel throws when the app cannot be reached or refuses a request: no OpenCAD2D is running, the connection was lost, a drawing was closed meanwhile, the owner of an object refused an edit, a block is not in the drawing. The message says why, in the words the app's own command line would.

public sealed class CadRemoteException : Exception, ISerializable
Inheritance
CadRemoteException
Implements
Inherited Members

Constructors

CadRemoteException(string)

Makes the exception.

CadRemoteException(string, bool)

Makes the exception for a pick the user cancelled.

CadRemoteException(string, Exception)

Makes the exception.

Properties

IsCancelled

Gets whether the user ended a pick (PickPoint(string, GeoPoint3?, TimeSpan?), PickObject(string, TimeSpan?) or PickObjects(string, TimeSpan?)) with Esc, or with Enter where nothing was picked, rather than something having gone wrong; false for every other failure, a pick that ran out of time included.