Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

InvalidResultSetAccessException.GetObjectData Method

When overridden in a derived class, sets the SerializationInfo with information about the exception.

[Visual Basic]
Public Overrides Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) _
    Implements ISerializable.GetObjectData
[C#]
public override void GetObjectData(
   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.

Implements

ISerializable.GetObjectData

Exceptions

Exception Type Condition
ArgumentNullException The info parameter is a null reference (Nothing in Visual Basic).

See Also

InvalidResultSetAccessException Class | Spring.Data Namespace