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

ForeignKeyException Constructor (SerializationInfo, StreamingContext)

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

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

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