CapeBadCOParameter Class

A parameter, which is an object from the Parameter Common Interface, has an invalid status.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("667D34E9-7EF7-4ca8-8D17-C7577F2C5B62")]
[ComVisibleAttribute(true)]
public class CapeBadCOParameter : CapeDataException, 
	ECapeBadCOParameter
Inheritance
Object    Exception    ApplicationException    CapeUserException    CapeDataException    CapeBadCOParameter
Implements
ECapeBadCOParameter

Remarks

The name of the invalid parameter, along with the parameter itself are available from the exception.

Constructors

CapeBadCOParameter(String, Object) Initializes a new instance of the CapeBadCOParameter class with the name of the parameter and the parameter that caused the exception.
CapeBadCOParameter(String, String, Object) Initializes a new instance of the CapeBadCOParameter class with a specified error message, the name of the parameter, and the parameter that caused the exception.
CapeBadCOParameter(SerializationInfo, StreamingContext, String, Object) Initializes a new instance of the CapeBadCOParameter class with serialized data, the name of the parameter, and the parameter that caused the exception.
CapeBadCOParameter(String, Exception, String, Object) Initializes a new instance of the CapeBadCOParameter class with a specified error message and a erence to the inner exception, the name of the parameter, and the parameter that caused the 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)
parameter The name of the CO parameter that is throwing the exception.
parameterName The name of the CO parameter that is throwing the exception.
scope The scope of the error.
(Inherited from CapeUserException)

Methods

Initialize Initializes the description, interface name and name fields of this exception.
(Inherited from CapeDataException)
Initialize(String, Object) Initializes the description, interface name and name fields of this exception.

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)
m_Parameter 
m_Parametername 

Extension Methods

GetEnumNames
(Defined by General)
IsValidDouble
(Defined by General)

See Also