Cape Invalid Operation Exception Class
This operation is not valid in the current context.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[SerializableAttribute]
[ComVisibleAttribute(true)]
[GuidAttribute("C0B943FE-FB8F-46b6-A622-54D30027D18B")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class CapeInvalidOperationException : CapeComputationException,
ECapeInvalidOperationVB
<SerializableAttribute>
<ComVisibleAttribute(true)>
<GuidAttribute("C0B943FE-FB8F-46b6-A622-54D30027D18B")>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
Public Class CapeInvalidOperationException
Inherits CapeComputationException
Implements ECapeInvalidOperation- Inheritance
- Object Exception ApplicationException CapeUserException CapeComputationException CapeInvalidOperationException
- Implements
- ECapeInvalidOperation
Remarks
This exception is thrown when an operation is attempted that is not valid in the current context.
Constructors
| CapeInvalidOperationException | Initializes a new instance of the CapeInvalidOperationException class. |
| CapeInvalidOperationException(String) | Initializes a new instance of the CapeInvalidOperationException class with a specified error message. |
| CapeInvalidOperationException(SerializationInfo, StreamingContext) | Initializes a new instance of the CapeInvalidOperationException class with serialized data. |
| CapeInvalidOperationException(String, Exception) | Initializes a new instance of the CapeInvalidOperationException class with a specified error message and a erence to the inner exception that is the cause of this exception. |
Properties
| code |
Code to designate the subcategory of the error.
(Inherited from CapeUserException) |
| description |
The description of the error.
(Inherited from CapeUserException) |
| interfaceName |
The name of the interface where the error is thrown. This is a mandatory field."
(Inherited from CapeUserException) |
| moreInfo |
An URL to a page, document, web site, where more information on the error can be found. The content of this information is obviously implementation dependent.
(Inherited from CapeUserException) |
| Name |
The name of the exception being thrown.
(Inherited from CapeUserException) |
| operation |
The name of the operation where the error is thrown. This is a mandatory field.
(Inherited from CapeUserException) |
| scope |
The scope of the error.
(Inherited from CapeUserException) |
Methods
| Initialize |
Initializes the description, interface name and name fields of this exception.
(Overrides CapeComputationExceptionInitialize) |
Fields
| m_description |
The description of the exception being thrown.
(Inherited from CapeUserException) |
| m_interfaceName |
The name of the exception interface for the exception being thrown.
(Inherited from CapeUserException) |
| m_name |
The name of the exception being thrown.
(Inherited from CapeUserException) |
Extension Methods
| GetEnumNames | (Defined by General) |
| IsValidDouble | (Defined by General) |