log4net SDK Reference

SecurityContextProvider.CreateSecurityContext Method 

Create a SecurityContext for a consumer

[Visual Basic]
Overridable Public Function CreateSecurityContext( _
   ByVal consumer As Object _
) As SecurityContext
[C#]
public virtual SecurityContext CreateSecurityContext(
   object consumer
);

Parameters

consumer
The consumer requesting the SecurityContext

Return Value

An impersonation context

Remarks

The default implementation is to return a NullSecurityContext.

Subclasses should override this method to provide their own behavior.

See Also

SecurityContextProvider Class | log4net.Core Namespace