Compartilhar via


Método LockManager.AssertLockNotHeld (ILockName, LockManager.LockType, Int64)

Declarar que o bloqueio fornecido não é mantido pelo segmento atual (a depuração afirma).

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

Sintaxe

'Declaração
<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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

LockManager Classe

Sobrecargas AssertLockNotHeld

Namespace Microsoft.TeamFoundation.Framework.Server