log4net SDK Reference

NullSecurityContext Class

A SecurityContext used when a SecurityContext is not required

For a list of all members of this type, see NullSecurityContext Members.

System.Object
   log4net.Core.SecurityContext
      log4net.Util.NullSecurityContext

[Visual Basic]
NotInheritable Public Class NullSecurityContext
    Inherits SecurityContext
[C#]
public sealed class NullSecurityContext : SecurityContext

Thread Safety

This type is not safe for multithreaded operations.

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.

Requirements

Namespace: log4net.Util

Assembly: log4net (in log4net.dll)

See Also

NullSecurityContext Members | log4net.Util Namespace