C# Class Spring.Objects.Factory.ObjectNotOfRequiredTypeException

Inheritance: ObjectsException
Afficher le fichier Open project: spring-projects/spring-net

Méthodes publiques

Méthode Description
ObjectNotOfRequiredTypeException ( ) : System

Creates a new instance of the ObjectNotOfRequiredTypeException class.

ObjectNotOfRequiredTypeException ( string message ) : System

Creates a new instance of the ObjectNotOfRequiredTypeException class.

ObjectNotOfRequiredTypeException ( string message, Exception rootCause ) : System

Creates a new instance of the ObjectNotOfRequiredTypeException class.

ObjectNotOfRequiredTypeException ( string name, Type requiredType, object actualInstance ) : System

Creates a new instance of the ObjectNotOfRequiredTypeException class.

Méthodes protégées

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

Creates a new instance of the ObjectNotOfRequiredTypeException class.

Private Methods

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

Method Details

ObjectNotOfRequiredTypeException() public méthode

Creates a new instance of the ObjectNotOfRequiredTypeException class.
public ObjectNotOfRequiredTypeException ( ) : System
Résultat System

ObjectNotOfRequiredTypeException() protected méthode

Creates a new instance of the ObjectNotOfRequiredTypeException class.
protected ObjectNotOfRequiredTypeException ( 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

ObjectNotOfRequiredTypeException() public méthode

Creates a new instance of the ObjectNotOfRequiredTypeException class.
public ObjectNotOfRequiredTypeException ( string message ) : System
message string /// A message about the exception. ///
Résultat System

ObjectNotOfRequiredTypeException() public méthode

Creates a new instance of the ObjectNotOfRequiredTypeException class.
public ObjectNotOfRequiredTypeException ( string message, Exception rootCause ) : System
message string /// A message about the exception. ///
rootCause System.Exception /// The root exception that is being wrapped. ///
Résultat System

ObjectNotOfRequiredTypeException() public méthode

Creates a new instance of the ObjectNotOfRequiredTypeException class.
public ObjectNotOfRequiredTypeException ( string name, Type requiredType, object actualInstance ) : System
name string /// Name of the object requested. ///
requiredType System.Type /// The required of the actual object /// instance that was retrieved. ///
actualInstance object /// The instance actually returned, whose class did not match the /// expected . ///
Résultat System