An exception thrown because an attempt is made to modify a row in a database, but its version doesn't match the version of the row being posted.
public class LockingException : Exception
Public Class LockingException Inherits Exception
This exception supports data concurrency in the Optimistic Locking mechanism. It is raised if the row's data being written back to a database is not consistent with the current data in the database. For instance, a row has been modified by another user/thread after the row's values were read by the current thread. To learn more about optimistic concurrency, refer to Optimistic Concurrency.