OptimisticConcurrencyException Class

 

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

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

System.Object
  System.Exception
    System.SystemException
      System.Data.DataException
        System.Data.Entity.Core.UpdateException
          System.Data.Entity.Core.OptimisticConcurrencyException

[SerializableAttribute]
public sealed class OptimisticConcurrencyException : UpdateException

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.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyStateEntries

Gets the state entries implicated in the error. (Inherited from UpdateException.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

(Inherited from Exception.)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.