AutomaticDataLossException Constructor

 

Initializes a new instance of the AutomaticDataLossException class.

Namespace:   System.Data.Entity.Migrations.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodAutomaticDataLossException()

Initializes a new instance of the AutomaticDataLossException class.

System_CAPS_pubmethodAutomaticDataLossException(String)

Initializes a new instance of the AutomaticDataLossException class.

System_CAPS_pubmethodAutomaticDataLossException(String, Exception)

Initializes a new instance of the MigrationsException class.


AutomaticDataLossException Constructor ()

Initializes a new instance of the AutomaticDataLossException class.

public AutomaticDataLossException()

AutomaticDataLossException Constructor (String)

Initializes a new instance of the AutomaticDataLossException class.

public AutomaticDataLossException(
	string message
)

Parameters

message
Type: System.String

The message that describes the error.


AutomaticDataLossException Constructor (String, Exception)

Initializes a new instance of the MigrationsException class.

public AutomaticDataLossException(
	string message,
	Exception innerException
)

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.