Freigeben über


LockManager.TryGetLock-Methode (ILockName, LockManager.LockType, Int64, Int32)

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

Syntax

'Declaration
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
)

Parameter

Rückgabewert

Typ: System.Boolean

.NET Framework-Sicherheit

Siehe auch

Referenz

LockManager Klasse

TryGetLock-Überladung

Microsoft.TeamFoundation.Framework.Server-Namespace