OptimisticConcurrencyException Class

Definition

This exception is thrown when a update operation violates the concurrency constraint.

[System.Serializable]
public sealed class OptimisticConcurrencyException : System.Data.Entity.Core.UpdateException
type OptimisticConcurrencyException = class
    inherit UpdateException
Public NotInheritable Class OptimisticConcurrencyException
Inherits UpdateException
Inheritance
OptimisticConcurrencyException
Attributes

Constructors

OptimisticConcurrencyException()

Initializes a new instance of OptimisticConcurrencyException.

OptimisticConcurrencyException(String)

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

OptimisticConcurrencyException(String, Exception)

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

OptimisticConcurrencyException(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.

Properties

StateEntries

Gets the ObjectStateEntry objects for this UpdateException .

(Inherited from UpdateException)

Applies to