FileAppender LockingModelBase MembersApache log4net™ SDK Documentation
The FileAppender LockingModelBase type exposes the following members.
Constructors

  NameDescription
Protected methodFileAppender LockingModelBase
Back to Top
Methods

  NameDescription
Public methodAcquireLock
Acquire the lock on the file
Public methodActivateOptions
Initializes all resources used by this locking model.
Public methodCloseFile
Close the file
Protected methodCloseStream
Helper method to close stream under CurrentAppender's SecurityContext.
Protected methodCreateStream
Helper method that creates a FileStream under CurrentAppender's SecurityContext.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnClose
Disposes all resources that were initialized by this locking model.
Public methodOpenFile
Open the output file
Public methodReleaseLock
Release the lock on the file
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyCurrentAppender
Gets or sets the FileAppender for this LockingModel
Back to Top
See Also