Cape Invalid Argument Exception(Serialization Info, Streaming Context, Int 32) Constructor
Initializes a new instance of the CapeInvalidArgumentException 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)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public CapeInvalidArgumentException(
SerializationInfo info,
StreamingContext context,
int position
)VB
Public Sub New (
info As SerializationInfo,
context As StreamingContext,
position As Integer
)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.
Remarks
This constructor is called during deserialization to reconstitute the
exception object transmitted over a stream. For more information, see XML and
SOAP Serialization.