Lock.IsHeldByCurrentThread Eigenschap

Definitie

Hiermee wordt een waarde opgehaald die aangeeft of de vergrendeling wordt vastgehouden door de huidige thread.

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

Waarde van eigenschap

true als de huidige thread de vergrendeling bevat; anders, false.

Van toepassing op