Share via


CommitFailedException Constructors

Definition

Overloads

CommitFailedException()

Initializes a new instance of CommitFailedException

CommitFailedException(String)

Initializes a new instance of CommitFailedException

CommitFailedException(SerializationInfo, StreamingContext)

Initializes a new instance of the CommitFailedException class.

CommitFailedException(String, Exception)

Initializes a new instance of CommitFailedException

CommitFailedException()

Initializes a new instance of CommitFailedException

public CommitFailedException ();
Public Sub New ()

Applies to

CommitFailedException(String)

Initializes a new instance of CommitFailedException

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

Parameters

message
String

The exception message.

Applies to

CommitFailedException(SerializationInfo, StreamingContext)

Initializes a new instance of the CommitFailedException class.

protected CommitFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Data.Entity.Infrastructure.CommitFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.Entity.Infrastructure.CommitFailedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The data necessary to serialize or deserialize an object.

context
StreamingContext

Description of the source and destination of the specified serialized stream.

Applies to

CommitFailedException(String, Exception)

Initializes a new instance of CommitFailedException

public CommitFailedException (string message, Exception innerException);
new System.Data.Entity.Infrastructure.CommitFailedException : string * Exception -> System.Data.Entity.Infrastructure.CommitFailedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception message.

innerException
Exception

The inner exception.

Applies to