CommitFailedException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework