Share via


AutomaticMigrationsDisabledException Constructors

Definition

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.AutomaticMigrationsDisabledException
Public 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.AutomaticMigrationsDisabledException
Public 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.

Applies to