MigrationsException Constructor
Initializes a new instance of the MigrationsException class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | MigrationsException() | Initializes a new instance of the MigrationsException class. |
![]() | MigrationsException(SerializationInfo, StreamingContext) | Initializes a new instance of the MigrationsException class with serialized data. |
![]() | MigrationsException(String) | Initializes a new instance of the MigrationsException class. |
![]() | MigrationsException(String, Exception) | Initializes a new instance of the MigrationsException class. |
MigrationsException Constructor ()
Initializes a new instance of the MigrationsException class.
MigrationsException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the MigrationsException class with serialized data.
Parameters
- info
-
Type:
System.Runtime.Serialization.SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
-
Type:
System.Runtime.Serialization.StreamingContext
The StreamingContext that contains contextual information about the source or destination.
MigrationsException Constructor (String)
Initializes a new instance of the MigrationsException class.
Parameters
- message
-
Type:
System.String
The message that describes the error.
MigrationsException Constructor (String, Exception)
Initializes a new instance of the MigrationsException class.
Parameters
- message
-
Type:
System.String
The message that describes the error.
- innerException
-
Type:
System.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.