Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ProtectCloseTextWriter Class

A TextWriter that ignores the Close message

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

System.Object
���System.MarshalByRefObject
������System.IO.TextWriter
���������log4net.Util.TextWriterAdapter
������������log4net.Util.ProtectCloseTextWriter

[Visual�Basic]
Public�Class�ProtectCloseTextWriter
����Inherits�TextWriterAdapter
[C#]
public�class�ProtectCloseTextWriter : TextWriterAdapter

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

This writer is used in special cases where it is necessary to protect a writer from being closed by a client.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

ProtectCloseTextWriter Members | log4net.Util Namespace