OptimisticConcurrencyException Constructor

 

Initializes a new instance of the OptimisticConcurrencyException class.

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

NameDescription
System_CAPS_pubmethodOptimisticConcurrencyException()

Initializes a new instance of the OptimisticConcurrencyException class using default values.

System_CAPS_pubmethodOptimisticConcurrencyException(String)

Initializes a new instance of the OptimisticConcurrencyException class with specified message.

System_CAPS_pubmethodOptimisticConcurrencyException(String, Exception)

Initializes a new instance of the OptimisticConcurrencyException class with specified message and inner exception.

System_CAPS_pubmethodOptimisticConcurrencyException(String, Exception, IEnumerable<ObjectStateEntry>)

Initializes a new instance of the OptimisticConcurrencyException class with specified message and inner exception.


OptimisticConcurrencyException Constructor ()

Initializes a new instance of the OptimisticConcurrencyException class using default values.

public OptimisticConcurrencyException()

OptimisticConcurrencyException Constructor (String)

Initializes a new instance of the OptimisticConcurrencyException class with specified message.

public OptimisticConcurrencyException(
	string message
)

Parameters

message
Type: System.String

The message associated with the exception.


OptimisticConcurrencyException Constructor (String, Exception)

Initializes a new instance of the OptimisticConcurrencyException class with specified message and inner exception.

public OptimisticConcurrencyException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

The message associated with the exception.

innerException
Type: System.Exception

The error that caused the exception.


OptimisticConcurrencyException Constructor (String, Exception, IEnumerable<ObjectStateEntry>)

Initializes a new instance of the OptimisticConcurrencyException class with specified message and inner exception.

public OptimisticConcurrencyException(
	string message,
	Exception innerException,
	IEnumerable<ObjectStateEntry> stateEntries
)

Parameters

message
Type: System.String

The message.

innerException
Type: System.Exception

The error that caused the exception.

stateEntries
Type: System.Collections.Generic.IEnumerable<ObjectStateEntry>

The state entries.