Click or drag to resize

OperationCancelledException Class

This exception should be used to indicate that an in-progress operation has been cancelled.
Inheritance Hierarchy
SystemObject
  SystemException
    ASCOMDriverException
      ASCOMOperationCancelledException

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 7.0.0-rc.0+0
Syntax
[SerializableAttribute]
public class OperationCancelledException : DriverException

The OperationCancelledException type exposes the following members.

Constructors
 NameDescription
Public methodOperationCancelledException Initializes a new instance of the OperationCancelledException class using default error text and error codes.
Public methodOperationCancelledException(Exception) Initializes a new instance of the OperationCancelledException class with a provided inner exception with a caught (inner) exception.
Public methodOperationCancelledException(String) Initializes a new instance of the OperationCancelledException class with a provided message
Public methodOperationCancelledException(String, Exception) Initializes a new instance of the OperationCancelledException class with a provided message and inner exception
Top
Properties
 NameDescription
Public propertyNumber The COM error code for this exception (hex 80040400 - 800404FF)
(Inherited from DriverException)
Top
Remarks

If you need to throw this error as a COM exception use the error number: 0x8004040E.

See Also