Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

FileAppender.ExclusiveLock Class

Hold an exclusive lock on the output file

For a list of all members of this type, see FileAppender.ExclusiveLock Members.


public�class�FileAppender.ExclusiveLock : LockingModelBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Open the file once for writing and hold it open until CloseFile is called. Maintains an exclusive lock on the file during this time.


Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

FileAppender.ExclusiveLock Members | log4net.Appender Namespace