log4net SDK Reference |

# SecurityContextProviderAttribute Class

Assembly level attribute to configure the SecurityContextProvider.

For a list of all members of this type, see SecurityContextProviderAttribute Members.

System.Object
System.Attribute
log4net.Config.ConfiguratorAttribute
log4net.Config.SecurityContextProviderAttribute

[Visual Basic]
NotInheritable Public Class SecurityContextProviderAttribute
Inherits ConfiguratorAttribute
[C#]
public sealed class SecurityContextProviderAttribute : ConfiguratorAttribute

#### Thread Safety

This type is not safe for multithreaded operations.

#### Remarks

This attribute may only be used at the assembly scope and can only be used once per assembly.

Use this attribute to configure the XmlConfigurator without calling one of the Configure methods.

#### Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

#### See Also

SecurityContextProviderAttribute Members | log4net.Config Namespace