OptimisticConcurrencyException Constructor

OptimisticConcurrencyException Constructor

.NET Framework (current version)
 

Initializes a new instance of OptimisticConcurrencyException.

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

NameDescription
System_CAPS_pubmethodOptimisticConcurrencyException()

Initializes a new instance of OptimisticConcurrencyException.

System_CAPS_pubmethodOptimisticConcurrencyException(String)

Initializes a new instance of OptimisticConcurrencyException with a specialized error message.

System_CAPS_pubmethodOptimisticConcurrencyException(String, Exception)

Initializes a new instance of OptimisticConcurrencyException that uses a specified error message and a reference to the inner exception.

System_CAPS_pubmethodOptimisticConcurrencyException(String, Exception, IEnumerable<ObjectStateEntry>)

Initializes a new instance of OptimisticConcurrencyException that uses a specified error message, a reference to the inner exception, and an enumerable collection of ObjectStateEntry objects.

For more information about how to handle exceptions in your code, see Exception.

Return to top
Show:
© 2016 Microsoft