LockManager.TryGetLock, méthode (ILockName, LockManager.LockType, Int64, Int32)
Espace de noms : Microsoft.TeamFoundation.Framework.Server
Assembly : Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)
Syntaxe
'Déclaration
Public Function TryGetLock ( _
lockName As ILockName, _
lockType As LockManager.LockType, _
requestId As Long, _
millisecondsTimeout As Integer _
) As Boolean
public bool TryGetLock(
ILockName lockName,
LockManager.LockType lockType,
long requestId,
int millisecondsTimeout
)
Paramètres
- lockName
Type : Microsoft.TeamFoundation.Framework.Server.ILockName
- lockType
Type : Microsoft.TeamFoundation.Framework.Server.LockManager.LockType
- requestId
Type : System.Int64
- millisecondsTimeout
Type : System.Int32
Valeur de retour
Type : System.Boolean
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.