Share via


LockManager.AssertLockNotHeld, méthode (Object, 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 ( _
    lockObject As Object, _
    lockType As LockManager.LockType, _
    requestId As Long _
)
[ConditionalAttribute("DEBUG")]
public void AssertLockNotHeld(
    Object lockObject,
    LockManager.LockType lockType,
    long requestId
)

Paramètres

  • lockObject
    Type : System.Object
    L'objet de verrouillage au verrou d'assertion pour.

Sécurité .NET Framework

Voir aussi

Référence

LockManager Classe

AssertLockNotHeld, surcharge

Microsoft.TeamFoundation.Framework.Server, espace de noms