NPersistence Reference Guide
Thrown by the persistence provider when an pessimistic locking conflict occurs.

This exception may be thrown as part of an API call, a flush or at commit time. The current transaction, if one is active, will be marked for rollback.

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
public class PessimisticLockException : PersistenceException

Members

         
 All Members  Constructors   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
PessimisticLockException()()()()
Constructs a new PessimisticLockException exception with null as its detail message.
PessimisticLockException(Exception)
Constructs a new PessimisticLockException exception with the specified cause.
PessimisticLockException(Object)
Constructs a new PessimisticLockException exception with the specified entity.
PessimisticLockException(String)
Constructs a new PessimisticLockException exception with the specified detail message.
PessimisticLockException(String, Exception)
Constructs a new PessimisticLockException exception with the specified detail message and cause.
PessimisticLockException(String, Exception, Object)
Constructs a new PessimisticLockException exception with the specified detail message, cause, and entity.
GetEntity()()()()
Returns the entity that caused this exception.

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    NPersistence..::..PersistenceException
      NPersistence..::..PessimisticLockException

See Also