Dil

Lock.IsHeldByCurrentThread Özellik

Tanım

Kilidin geçerli iş parçacığı tarafından tutulup tutulmadığını gösteren bir değer alır.

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

Özellik Değeri

true geçerli iş parçacığı kilidi tutuyorsa; aksi takdirde , false.

Şunlara uygulanır