Class LockHandle
An instance of this class is used to lock and unlock the cache items in pessimistic concurrency model.
Inheritance
System.Object
LockHandle
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
public class LockHandle
LockHandle()
Declaration
public LockHandle()
LockHandle(String, DateTime)
Declaration
public LockHandle(string lockId, DateTime lockDate)
Parameters
Type | Name | Description |
---|---|---|
System.String | lockId | |
System.DateTime | lockDate |
LockDate
Gets and sets the lock-date.
Declaration
public DateTime LockDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
LockId
Gets and sets the lock-id.
Declaration
public string LockId { get; set; }
Property Value
Type | Description |
---|---|
System.String |