Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

SecurityContextProviderAttribute.Configure�Method�

Configures the SecurityContextProvider

[Visual�Basic]
Overrides�Public�Sub�Configure( _
���ByVal sourceAssembly�As�Assembly,�_
���ByVal targetRepository�As�ILoggerRepository�_
)
[C#]
public�override�void�Configure(
���AssemblysourceAssembly,
���ILoggerRepositorytargetRepository
);

Parameters

sourceAssembly
The assembly that this attribute was defined on.
targetRepository
The repository to configure.

Remarks

Creates a provider instance from the ProviderType specified. Sets this as the default security context provider DefaultProvider.

See Also

SecurityContextProviderAttribute Class | log4net.Config Namespace