LockName<T> Constructor
Constructor
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub New ( _
nameValue As T, _
lockLevel As LockManager.LockLevel _
)
public LockName(
T nameValue,
LockManager.LockLevel lockLevel
)
public:
LockName(
T nameValue,
LockManager::LockLevel lockLevel
)
new :
nameValue:'T *
lockLevel:LockManager.LockLevel -> LockName
public function LockName(
nameValue : T,
lockLevel : LockManager.LockLevel
)
Parameters
nameValue
Type: TThe name value.
lockLevel
Type: Microsoft.TeamFoundation.Framework.Server.LockManager.LockLevelThe lock level.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.