Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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(
���objectconsumer
);

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