Cape Bad COParameter(Serialization Info, Streaming Context, String, Object) Constructor
Initializes a new instance of the CapeBadCOParameter class with serialized data, the name of the parameter, and the parameter that caused the exception.
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#
public CapeBadCOParameter(
SerializationInfo info,
StreamingContext context,
string parameterName,
Object parameter
)VB
Public Sub New (
info As SerializationInfo,
context As StreamingContext,
parameterName As String,
parameter As Object
)Parameters
- info SerializationInfo
- The object that holds the serialized object data.
- context StreamingContext
- The contextual information about the source or destination.
- parameterName String
- The name of the parameter with the invalid status.
- parameter Object
- The parameter with the invalid status.
Remarks
This constructor is called during deserialization to reconstitute the
exception object transmitted over a stream. For more information, see XML and
SOAP Serialization.