共用方式為


AsyncReaderWriterLock.IsAnyLockHeld Property

Definition

Gets a value indicating whether any kind of lock is held by the caller and can be immediately used given the caller's context.

public:
 property bool IsAnyLockHeld { bool get(); };
public:
 property bool IsAnyLockHeld { bool get(); };
public bool IsAnyLockHeld { get; }
member this.IsAnyLockHeld : bool
Public ReadOnly Property IsAnyLockHeld As Boolean

Property Value

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

Applies to