Condividi tramite


ILockName.CachedLockObject Property

Get or set a cached lock object for this name. that is name can cache a lock object!

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Property CachedLockObject As LockManager.NamedLockObject
LockManager.NamedLockObject CachedLockObject { get; set; }
property LockManager::NamedLockObject^ CachedLockObject {
    LockManager::NamedLockObject^ get ();
    void set (LockManager::NamedLockObject^ value);
}
abstract CachedLockObject : LockManager.NamedLockObject with get, set
function get CachedLockObject () : LockManager.NamedLockObject 
function set CachedLockObject (value : LockManager.NamedLockObject)

Property Value

Type: Microsoft.TeamFoundation.Framework.Server.LockManager.NamedLockObject
Returns LockManager.NamedLockObject.

Remarks

This property is supposed to be called only by LockManager code. Implementer should provide a storage location and getter/setter implementation for this property.

.NET Framework Security

See Also

Reference

ILockName Interface

Microsoft.TeamFoundation.Framework.Server Namespace