C# Class Moo.MappingException

Mostra file Open project: dclucas/MOO

Public Methods

Method Description
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.

Protected Methods

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

Initializes a new instance of the MappingException class.

Method Details

GetObjectData() public method

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. ///
return void

MappingException() public method

Initializes a new instance of the MappingException class.
public MappingException ( ) : System
return System

MappingException() protected method

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. ///
return System

MappingException() public method

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.
return System

MappingException() public method

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.
return System

MappingException() public method

Initializes a new instance of the MappingException class.
public MappingException ( string message ) : System
message string The message.
return System

MappingException() public method

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.
return System

MappingException() public method

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.
return System