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

DataAccessException Constructor (SerializationInfo, StreamingContext)

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

[Visual Basic]
Overloads Protected Sub New( _
   ByVal SerializationInfo As SerializationInfo, _
   ByVal StreamingContext As StreamingContext _
)
[C#]
protected DataAccessException(
   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

DataAccessException Class | IBatisNet.DataAccess.Exceptions Namespace | DataAccessException Constructor Overload List