log4net SDK Reference |

# 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(
Assembly sourceAssembly,
ILoggerRepository targetRepository
);

#### 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