FileAppender.InterProcessLock MethodsApache log4netâ„¢ SDK Documentation
The FileAppender.InterProcessLock type exposes the following members.
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
Open the file specified and prepare for logging.
(Overrides FileAppender.LockingModelBase.OpenFile(String, Boolean, Encoding).)
Public methodReleaseLock
Releases the lock and allows others to acquire a lock.
(Overrides FileAppender.LockingModelBase.ReleaseLock().)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
See Also