ReaderWriterLock AcquireReaderLock Method | Apache log4net™ SDK Documentation

Acquires a reader lock

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public void AcquireReaderLock()

    Public Sub AcquireReaderLock

    public:
    void AcquireReaderLock()

    member AcquireReaderLock : unit -> unit

Remarks

AcquireReaderLock
blocks if a different thread has the writer lock, or if at least one thread is waiting for the writer lock.

See Also

#### Reference

ReaderWriterLock Class
log4net.Util Namespace