C# Class System.Data.Entity.Migrations.Infrastructure.MigrationsException

Inheritance: Exception
Mostra file Open project: dotnet/ef6tools

Public Methods

Method Description
MigrationsException ( ) : System.Runtime.Serialization

Initializes a new instance of the MigrationsException class.

MigrationsException ( string message ) : System.Runtime.Serialization

Initializes a new instance of the MigrationsException class.

MigrationsException ( string message, Exception innerException ) : System.Runtime.Serialization

Initializes a new instance of the MigrationsException class.

Protected Methods

Method Description
MigrationsException ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization

Initializes a new instance of the MigrationsException class with serialized data.

Method Details

MigrationsException() public method

Initializes a new instance of the MigrationsException class.
public MigrationsException ( ) : System.Runtime.Serialization
return System.Runtime.Serialization

MigrationsException() protected method

Initializes a new instance of the MigrationsException class with serialized data.
protected MigrationsException ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization
info SerializationInfo /// The that holds the serialized object data about the exception being thrown. ///
context StreamingContext /// The that contains contextual information about the source or destination. ///
return System.Runtime.Serialization

MigrationsException() public method

Initializes a new instance of the MigrationsException class.
public MigrationsException ( string message ) : System.Runtime.Serialization
message string The message that describes the error.
return System.Runtime.Serialization

MigrationsException() public method

Initializes a new instance of the MigrationsException class.
public MigrationsException ( string message, Exception innerException ) : System.Runtime.Serialization
message string The message that describes the error.
innerException Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
return System.Runtime.Serialization