FileAppender LockingModelBase CloseStream Method | Apache log4net™ SDK Documentation

Helper method to close stream under CurrentAppender's SecurityContext.

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

C#
VB
C++
F#
Copy

    protected void CloseStream(
    	Stream stream
    )

    Protected Sub CloseStream (
    	stream As Stream
    )

    protected:
    void CloseStream(
    	Stream^ stream
    )

    member CloseStream :
            stream : Stream -> unit

#### Parameters

stream
  Type: System.IO
  Stream

Remarks

Does not set stream to null.
See Also

#### Reference

FileAppender
LockingModelBase Class
log4net.Appender Namespace