FileAppender SecurityContext Property | Apache log4net™ SDK Documentation

Gets or sets the SecurityContext used to write to the file.

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 write to the file.
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

FileAppender Class
log4net.Appender Namespace