C# Class NHibernate.WrongClassException

Inheritance: NHibernate.HibernateException, ISerializable
Mostra file Open project: nhibernate/nhibernate-core Class Usage Examples

Public Methods

Method Description
WrongClassException ( string message, object identifier, string entityName ) : System

Initializes a new instance of the WrongClassException class.

Protected Methods

Method Description
WrongClassException ( SerializationInfo info, StreamingContext context ) : System

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

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

WrongClassException() protected method

Initializes a new instance of the WrongClassException class with serialized data.
protected WrongClassException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo /// The that holds the serialized object /// data about the exception being thrown. ///
context System.Runtime.Serialization.StreamingContext /// The that contains contextual information about the source or destination. ///
return System

WrongClassException() public method

Initializes a new instance of the WrongClassException class.
public WrongClassException ( string message, object identifier, string entityName ) : System
message string The message that describes the error.
identifier object The identifier of the object that was being loaded.
entityName string The name of entity that NHibernate was told to load.
return System