The DeadlockPolicy type exposes the following members.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the type of the current instance.
(Inherited from Object.)
ToString
Returns a string that represents the current object.
(Inherited from Object.)

Fields

  NameDescription
DEFAULT
If no DeadlockPolicy has yet been specified, use RANDOM.
EXPIRE
Reject lock requests which have timed out. No other deadlock detection is performed.
MAX_LOCKS
Reject the lock request for the locker ID with the most locks.
MAX_WRITE
Reject the lock request for the locker ID with the most write locks.
MIN_LOCKS
Reject the lock request for the locker ID with the fewest locks.
MIN_WRITE
Reject the lock request for the locker ID with the fewest write locks.
OLDEST
Reject the lock request for the locker ID with the oldest lock.
RANDOM
Reject the lock request for a random locker ID.
YOUNGEST
Reject the lock request for the locker ID with the youngest lock.

See Also