LockingModelBase Methods | Apache log4net™ SDK Documentation

The FileAppender
LockingModelBase type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AcquireLock | Acquire the lock on the file
| ActivateOptions | Initializes all resources used by this locking model.
| CloseFile | Close the file
| CloseStream | Helper method to close stream under CurrentAppender's SecurityContext.
| CreateStream | Helper method that creates a FileStream under CurrentAppender's SecurityContext.
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| OnClose | Disposes all resources that were initialized by this locking model.
| OpenFile | Open the output file
| ReleaseLock | Release the lock on the file
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
See Also

#### Reference

FileAppender
LockingModelBase Class
log4net.Appender Namespace