Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

FilterSkeleton.ActivateOptions�Method�

Initialize the filter with the options set

[Visual�Basic]
Overridable�Public�Sub�ActivateOptions()�_
����Implements�IOptionHandler.ActivateOptions
[C#]
public�virtual�void�ActivateOptions();

Implements

IOptionHandler.ActivateOptions

Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

Typically filter's options become active immediately on set, however this method must still be called.

See Also

FilterSkeleton Class | log4net.Filter Namespace