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

IBatisNetException Constructor (SerializationInfo, StreamingContext)

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

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

IBatisNetException Class | IBatisNet.Common.Exceptions Namespace | IBatisNetException Constructor Overload List