Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdvised.AddAdvisor(IAdvisor) Method

Adds the supplied advisor to the list of Advisors.

[Visual Basic]
Public Sub AddAdvisor( _
   ByVal advisor As IAdvisor _
)
[C#]
void AddAdvisor(
   IAdvisor advisor
);

Parameters

advisor
The IAdvisor to add.

Exceptions

Exception Type Condition
AopConfigException If this proxy configuration is frozen and the advisor cannot be added.

See Also

IAdvised Interface | Spring.Aop.Framework Namespace | IAdvised.AddAdvisor Overload List