Initializes a new instance of the HibernateConfigException class
with serialized data.
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
protected HibernateConfigException( SerializationInfo info, StreamingContext context ) |
Visual Basic |
---|
Protected Sub New ( _ info As SerializationInfo, _ context As StreamingContext _ ) |
Visual C++ |
---|
protected: HibernateConfigException( SerializationInfo^ info, StreamingContext 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.