SecurityContext ClassApache log4net™ SDK Documentation
A SecurityContext used by log4net when interacting with protected resources
Inheritance Hierarchy

SystemObject
  log4net.CoreSecurityContext
    log4net.UtilNullSecurityContext
    log4net.UtilWindowsSecurityContext

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public abstract class SecurityContext

The SecurityContext type exposes the following members.

Constructors

  NameDescription
Protected methodSecurityContext
Initializes a new instance of the SecurityContext class
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImpersonate
Impersonate this SecurityContext
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
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

Reference