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.

System.Object
���log4net.Appender.FileAppender.LockingModelBase
������log4net.Appender.FileAppender.ExclusiveLock

[Visual�Basic]
Public�Class�FileAppender.ExclusiveLock
����Inherits�LockingModelBase
[C#]
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.

Remarks

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

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

FileAppender.ExclusiveLock Members | log4net.Appender Namespace