C# Class Worki.Infrastructure.ModelStateException

Inheritance: System.Exception
Show file Open project: tah91/eworkyWebSite

Public Methods

Method Description
ModelStateException ( ) : System

Initializes a new instance of the ModelStateException class.

ModelStateException ( ModelStateDictionary modelState ) : System

Initializes a new instance of the ModelStateException class.

ModelStateException ( string message ) : System

Initializes a new instance of the ModelStateException class.

ModelStateException ( string message, Exception innerException ) : System

Initializes a new instance of the ModelStateException class.

Protected Methods

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

Initializes a new instance of the ModelStateException class.

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

ModelStateException() public method

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

ModelStateException() public method

Initializes a new instance of the ModelStateException class.
public ModelStateException ( ModelStateDictionary modelState ) : System
modelState ModelStateDictionary State of the model.
return System

ModelStateException() protected method

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

ModelStateException() public method

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

ModelStateException() public method

Initializes a new instance of the ModelStateException class.
public ModelStateException ( string message, Exception innerException ) : System
message string The message.
innerException System.Exception The inner exception.
return System