Method Lock
Lock(TimeSpan)
Acquire a lock on an collection in cache.
Declaration
bool Lock(TimeSpan timeout)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | timeout |
Returns
Type | Description |
---|---|
System.Boolean | True if lock was acquired successfully;otherwise false. |