FileAppender.MinimalLock MembersApache log4netâ„¢ SDK Documentation
The FileAppender.MinimalLock type exposes the following members.
Constructors

  NameDescription
Public methodFileAppender.MinimalLock
Back to Top
Methods

  NameDescription
Public methodAcquireLock
Acquire the lock on the file
(Overrides FileAppender.LockingModelBase.AcquireLock().)
Public methodActivateOptions
Initializes all resources used by this locking model.
(Overrides FileAppender.LockingModelBase.ActivateOptions().)
Public methodCloseFile
Close the file
(Overrides FileAppender.LockingModelBase.CloseFile().)
Protected methodCloseStream
Helper method to close stream under CurrentAppender's SecurityContext.
(Inherited from FileAppender.LockingModelBase.)
Protected methodCreateStream
Helper method that creates a FileStream under CurrentAppender's SecurityContext.
(Inherited from FileAppender.LockingModelBase.)
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.
(Overrides FileAppender.LockingModelBase.OnClose().)
Public methodOpenFile
Prepares to open the file when the first message is logged.
(Overrides FileAppender.LockingModelBase.OpenFile(String, Boolean, Encoding).)
Public methodReleaseLock
Release the lock on the file
(Overrides FileAppender.LockingModelBase.ReleaseLock().)
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
(Inherited from FileAppender.LockingModelBase.)
Back to Top
See Also