Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

FileAppender.MinimalLock.AcquireLock�Method�

Acquire the lock on the file

[Visual�Basic]
Overrides�Public�Function�AcquireLock()�As�Stream
[C#]
public�override�Stream�AcquireLock();

Return Value

A stream that is ready to be written to.

Remarks

Acquire the lock on the file in preparation for writing to it. Return a stream pointing to the file. ReleaseLock must be called to release the lock on the output file.

See Also

FileAppender.MinimalLock Class | log4net.Appender Namespace