Dela via


AutomaticDataLossException Constructors

Definition

Overloads

AutomaticDataLossException()

Initializes a new instance of the AutomaticDataLossException class.

AutomaticDataLossException(String)

Initializes a new instance of the AutomaticDataLossException class.

AutomaticDataLossException(String, Exception)

Initializes a new instance of the MigrationsException class.

AutomaticDataLossException()

Initializes a new instance of the AutomaticDataLossException class.

public AutomaticDataLossException ();
Public Sub New ()

Applies to

AutomaticDataLossException(String)

Initializes a new instance of the AutomaticDataLossException class.

public AutomaticDataLossException (string message);
new System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException : string -> System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

AutomaticDataLossException(String, Exception)

Initializes a new instance of the MigrationsException class.

public AutomaticDataLossException (string message, Exception innerException);
new System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException : string * Exception -> System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException
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