SecurityContextProviderAttribute Constructor | Apache log4net™ SDK Documentation

Construct provider attribute with type specified

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

C#
VB
C++
F#
Copy

    public SecurityContextProviderAttribute(
    	Type providerType
    )

    Public Sub New (
    	providerType As Type
    )

    public:
    SecurityContextProviderAttribute(
    	Type^ providerType
    )

    new :
            providerType : Type -> SecurityContextProviderAttribute

#### Parameters

providerType
  Type: System
  Type
  the type of the provider to use

Remarks

The provider specified must subclass the SecurityContextProvider class.

See Also

#### Reference

SecurityContextProviderAttribute Class
log4net.Config Namespace