NullSecurityContext Impersonate Method | Apache log4net™ SDK Documentation

Impersonate this SecurityContext

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public override IDisposable Impersonate(
    	Object state
    )

    Public Overrides Function Impersonate (
    	state As Object
    ) As IDisposable

    public:
    virtual IDisposable^ Impersonate(
    	Object^ state
    ) override

    abstract Impersonate :
            state : Object -> IDisposable
    override Impersonate :
            state : Object -> IDisposable

#### Parameters

state
  Type: System
  Object
  State supplied by the caller

#### Return Value

Type: IDisposable
null
Remarks

No impersonation is done and null is always returned.

See Also

#### Reference

NullSecurityContext Class
log4net.Util Namespace