OperationCancelledException Class

This exception should be used to indicate that an in-progress operation has been cancelled.

Definition

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 7.1.3+4851.c5da65c2b
C#
[SerializableAttribute]
public class OperationCancelledException : DriverException
Inheritance
Object    Exception    DriverException    OperationCancelledException

Remarks

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

Constructors

OperationCancelledException Initializes a new instance of the OperationCancelledException class using default error text and error codes.
OperationCancelledException(Exception) Initializes a new instance of the OperationCancelledException class with a provided inner exception with a caught (inner) exception.
OperationCancelledException(String) Initializes a new instance of the OperationCancelledException class with a provided message
OperationCancelledException(String, Exception) Initializes a new instance of the OperationCancelledException class with a provided message and inner exception

Properties

Number The COM error code for this exception (hex 80040400 - 800404FF)
(Inherited from DriverException)

See Also