CapeOutOfBoundsException(SerializationInfo, StreamingContext, Int32, Double, Double, Double, String) Constructor

Initializes a new instance of the CapeOutOfBoundsException class with serialized data and the position of the error.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
public CapeOutOfBoundsException(
	SerializationInfo info,
	StreamingContext context,
	int position,
	double LowerBound,
	double UpperBound,
	double value,
	string type
)

Parameters

info  SerializationInfo
The object that holds the serialized object data.
context  StreamingContext
The contextual information about the source or destination.
position  Int32
The position of the argument value within the signature of the operation. First argument is as position 1.
LowerBound  Double
The value of the lower bound.
UpperBound  Double
The value of the upper bound.
value  Double
The current value which has led to an error.
type  String
The type/nature of the value. The value could represent a thermodynamic property, a number of tables in a database, a quantity of memory, ...

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization.

See Also