OptimisticConcurrencyException Class
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.
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
- Attributes
Constructors
OptimisticConcurrencyException() |
Initializes a new instance of OptimisticConcurrencyException. |
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. |
OptimisticConcurrencyException(String, Exception) |
Initializes a new instance of OptimisticConcurrencyException that uses a specified error message and a reference to the inner exception. |
OptimisticConcurrencyException(String) |
Initializes a new instance of OptimisticConcurrencyException with a specialized error message. |
Properties
StateEntries |
Gets the ObjectStateEntry objects for this UpdateException . (Inherited from UpdateException) |
Applies to
Entity Framework