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