iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

DataMapperException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the DataMapperException class with serialized data.

[Visual Basic]
Overloads Protected Sub New( _
   ByVal SerializationInfo As SerializationInfo, _
   ByVal StreamingContext As StreamingContext _
)
[C#]
protected DataMapperException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
The StreamingContext that contains contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

See Also

DataMapperException Class | IBatisNet.DataMapper.Exceptions Namespace | DataMapperException Constructor Overload List