Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.