C# Класс Spring.Objects.Factory.ObjectNotOfRequiredTypeException

Наследование: ObjectsException
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
ObjectNotOfRequiredTypeException ( SerializationInfo info, StreamingContext context ) : System

Creates a new instance of the ObjectNotOfRequiredTypeException class.

Приватные методы

Метод Описание
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Описание методов

ObjectNotOfRequiredTypeException() публичный Метод

Creates a new instance of the ObjectNotOfRequiredTypeException class.
public ObjectNotOfRequiredTypeException ( ) : System
Результат System

ObjectNotOfRequiredTypeException() защищенный Метод

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. ///
Результат System

ObjectNotOfRequiredTypeException() публичный Метод

Creates a new instance of the ObjectNotOfRequiredTypeException class.
public ObjectNotOfRequiredTypeException ( string message ) : System
message string /// A message about the exception. ///
Результат System

ObjectNotOfRequiredTypeException() публичный Метод

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. ///
Результат System

ObjectNotOfRequiredTypeException() публичный Метод

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 . ///
Результат System