A SecurityContext used when a SecurityContext is not required
Inheritance Hierarchy
log4net.CoreSecurityContext
log4net.UtilNullSecurityContext
Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The NullSecurityContext type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | (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
(Overrides SecurityContextImpersonate(Object).) | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| Instance |
Singleton instance of NullSecurityContext |
Remarks
The NullSecurityContext is a no-op implementation of the SecurityContext base class. It is used where a SecurityContext is required but one has not been provided.
See Also