TechTalk Genome v4.2

PessimisticLockArgs Members

PessimisticLockArgs overview

Public Instance Constructors

PessimisticLockArgsOverloaded. Initializes a new instance of the PessimisticLockArgs class.

Public Instance Properties

ExplicitLock (inherited from LockArgs) Indicating whether to override the configured locking behaviour and lock the object in the Context on which the lock operation was called, or use the configured locking mechanism, delegating the lock. The default value is false.
FailureData The data of the lock issued to an object on which the lock request was failed.
Overtake Gets if during locking do we try to take a lock over.
ReferenceLockData The reference data against which the new lock request is checked when trying to overtake a lock.
Timeout Gets the time in milliseconds to wait when trying to aquire a pessimistic lock for an object.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified object is equal to the current object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a string that represents the current object.

Protected Instance Methods

Finalize (inherited from Object)Allows an object to attempt to free resources and perform other cleanup operations before the object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current object.

See Also

PessimisticLockArgs Class | TechTalk.Genome.Locking Namespace | Context.Lock | Context.TryLock