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

Namespace:  NHibernate
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Protected Sub New ( _
	info As SerializationInfo, _
	context As StreamingContext _
)
C#
protected ObjectDeletedException(
	SerializationInfo info,
	StreamingContext context
)
Visual C++
protected:
ObjectDeletedException(
	SerializationInfo^ info, 
	StreamingContext context
)
JavaScript
NHibernate.ObjectDeletedException = function(info, context);

Parameters

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

See Also