A SecurityContext used by log4net when interacting with protected resources
Inheritance Hierarchy
log4net.CoreSecurityContext
log4net.UtilNullSecurityContext
log4net.UtilWindowsSecurityContext
Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The SecurityContext type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SecurityContext | Initializes a new instance of the SecurityContext class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (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.) | |
| Impersonate |
Impersonate this SecurityContext
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Remarks
A SecurityContext used by log4net when interacting with protected resources for example with operating system services. This can be used to impersonate a principal that has been granted privileges on the system resources.
See Also