NetSendAppender SecurityContext Property | Apache log4net™ SDK Documentation

Gets or sets the SecurityContext used to call the NetSend method.

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

C#
VB
C++
F#
Copy

    public SecurityContext SecurityContext { get; set; }

    Public Property SecurityContext As SecurityContext
    	Get
    	Set

    public:
    property SecurityContext^ SecurityContext {
    	SecurityContext^ get ();
    	void set (SecurityContext^ value);
    }

    member SecurityContext : SecurityContext with get, set

#### Property Value

Type: SecurityContext
The SecurityContext used to call the NetSend method.
Remarks

Unless a SecurityContext specified here for this appender the DefaultProvider is queried for the security context to use. The default behavior is to use the security context of the current thread.

See Also

#### Reference

NetSendAppender Class
log4net.Appender Namespace