C# Класс Moo.MappingException

Показать файл Открыть проект

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

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

When overridden in a derived class, sets the T:System.Runtime.Serialization.SerializationInfo with information about the exception.

MappingException ( ) : System

Initializes a new instance of the MappingException class.

MappingException ( Type sourceType, Type targetType, string sourceMember, string targetMember ) : System

Initializes a new instance of the MappingException class.

MappingException ( Type sourceType, Type targetType, string sourceMember, string targetMember, Exception innerException ) : System

Initializes a new instance of the MappingException class.

MappingException ( string message ) : System

Initializes a new instance of the MappingException class.

MappingException ( string message, Exception inner ) : System

Initializes a new instance of the MappingException class.

MappingException ( string message, Type sourceType, Type targetType, string sourceMember, string targetMember, Exception innerException ) : System

Initializes a new instance of the MappingException class.

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

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

Initializes a new instance of the MappingException class.

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

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

When overridden in a derived class, sets the T:System.Runtime.Serialization.SerializationInfo with information about the exception.
/// The parameter is a null reference (Nothing in Visual Basic). ///
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
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. ///
Результат void

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

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

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

Initializes a new instance of the MappingException class.
/// The parameter is null. /// /// The class name is null or is zero (0). ///
protected MappingException ( 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

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

Initializes a new instance of the MappingException class.
public MappingException ( Type sourceType, Type targetType, string sourceMember, string targetMember ) : System
sourceType System.Type Type of the source.
targetType System.Type Type of the target.
sourceMember string The source member.
targetMember string The target member.
Результат System

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

Initializes a new instance of the MappingException class.
public MappingException ( Type sourceType, Type targetType, string sourceMember, string targetMember, Exception innerException ) : System
sourceType System.Type Type of the source.
targetType System.Type Type of the target.
sourceMember string The source member.
targetMember string The target member.
innerException System.Exception The inner exception.
Результат System

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

Initializes a new instance of the MappingException class.
public MappingException ( string message ) : System
message string The message.
Результат System

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

Initializes a new instance of the MappingException class.
public MappingException ( string message, Exception inner ) : System
message string The exception message.
inner System.Exception The inner exception.
Результат System

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

Initializes a new instance of the MappingException class.
public MappingException ( string message, Type sourceType, Type targetType, string sourceMember, string targetMember, Exception innerException ) : System
message string The exception message.
sourceType System.Type Type of the source.
targetType System.Type Type of the target.
sourceMember string The source member.
targetMember string The target member.
innerException System.Exception The inner exception.
Результат System