CommitFailedException Constructor

 

Initializes a new instance of the CommitFailedException class.

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

NameDescription
System_CAPS_pubmethodCommitFailedException()

Initializes a new instance of CommitFailedException with default values.

System_CAPS_protmethodCommitFailedException(SerializationInfo, StreamingContext)

Initializes a new instance of the CommitFailedException class with serialized data.

System_CAPS_pubmethodCommitFailedException(String)

Initializes a new instance of CommitFailedException with error message.

System_CAPS_pubmethodCommitFailedException(String, Exception)

Initializes a new instance of CommitFailedException with error message and inner exception.


CommitFailedException Constructor ()

Initializes a new instance of CommitFailedException with default values.

public CommitFailedException()

CommitFailedException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the CommitFailedException class with serialized data.

protected CommitFailedException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

The data necessary to serialize or deserialize an object.

context
Type: System.Runtime.Serialization.StreamingContext

The description of the source and destination of the specified serialized stream.


CommitFailedException Constructor (String)

Initializes a new instance of CommitFailedException with error message.

public CommitFailedException(
	string message
)

Parameters

message
Type: System.String

The exception message.


CommitFailedException Constructor (String, Exception)

Initializes a new instance of CommitFailedException with error message and inner exception.

public CommitFailedException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

The exception message.

innerException
Type: System.Exception

The inner exception.