Compartilhar via


AsyncReaderWriterLock.IsAnyLockHeld Property

Microsoft internal only. Determines whether any kind of lock is held by the caller and can be immediately used given the caller's context.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public ReadOnly Property IsAnyLockHeld As Boolean
public bool IsAnyLockHeld { get; }
public:
property bool IsAnyLockHeld {
    bool get ();
}
member IsAnyLockHeld : bool with get
function get IsAnyLockHeld () : boolean

Property Value

Type: System.Boolean
true if any kind of lock is held by the caller and can be immediately used given the caller's context, otherwise false.

.NET Framework Security

See Also

Reference

AsyncReaderWriterLock Class

Microsoft.VisualStudio.Threading Namespace