C# Class NHibernate.WrongClassException

Inheritance: NHibernate.HibernateException, ISerializable
Afficher le fichier Open project: nhibernate/nhibernate-core Class Usage Examples

Méthodes publiques

Méthode Description
WrongClassException ( string message, object identifier, string entityName ) : System

Initializes a new instance of the WrongClassException class.

Méthodes protégées

Méthode Description
WrongClassException ( SerializationInfo info, StreamingContext context ) : System

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

Private Methods

Méthode Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

WrongClassException() protected méthode

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. ///
Résultat System

WrongClassException() public méthode

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.
Résultat System