AutomaticMigrationsDisabledException Constructors   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| AutomaticMigrationsDisabledException() | Initializes a new instance of the AutomaticMigrationsDisabledException class. | 
| AutomaticMigrationsDisabledException(String) | Initializes a new instance of the AutomaticMigrationsDisabledException class. | 
| AutomaticMigrationsDisabledException(String, Exception) | Initializes a new instance of the MigrationsException class. | 
AutomaticMigrationsDisabledException()
Initializes a new instance of the AutomaticMigrationsDisabledException class.
public AutomaticMigrationsDisabledException();Public Sub New ()Applies to
AutomaticMigrationsDisabledException(String)
Initializes a new instance of the AutomaticMigrationsDisabledException class.
public AutomaticMigrationsDisabledException(string message);new System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledException : string -> System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledExceptionPublic Sub New (message As String)Parameters
- message
- String
The message that describes the error.
Applies to
AutomaticMigrationsDisabledException(String, Exception)
Initializes a new instance of the MigrationsException class.
public AutomaticMigrationsDisabledException(string message, Exception innerException);new System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledException : string * Exception -> System.Data.Entity.Migrations.Infrastructure.AutomaticMigrationsDisabledExceptionPublic Sub New (message As String, innerException As Exception)Parameters
- 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.