Partager via


LockName<T1, T2>.CachedLockObject Property

Get or set a cached lock object for this name.

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

Syntax

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

Property Value

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

Implements

ILockName.CachedLockObject

.NET Framework Security

See Also

Reference

LockName<T1, T2> Class

Microsoft.TeamFoundation.Framework.Server Namespace