Share via


LockManager.AssertLockNotHeld, méthode (ILockName, LockManager.LockType, Int64)

Affirmez que le verrou donné n'est pas géré par le thread actuel (assertion de débogage).

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
<ConditionalAttribute("DEBUG")> _
Public Sub AssertLockNotHeld ( _
    lockName As ILockName, _
    lockType As LockManager.LockType, _
    requestId As Long _
)
[ConditionalAttribute("DEBUG")]
public void AssertLockNotHeld(
    ILockName lockName,
    LockManager.LockType lockType,
    long requestId
)

Paramètres

Sécurité .NET Framework

Voir aussi

Référence

LockManager Classe

AssertLockNotHeld, surcharge

Microsoft.TeamFoundation.Framework.Server, espace de noms