Lock.IsHeldByCurrentThread Propriedade

Definição

Obtém um valor que indica se o bloqueio é mantido pelo thread atual.

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

Valor de Propriedade

true se a rosca atual segurar o bloqueio; caso contrário, false.

Aplica-se a