Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdvised.RemoveAdvisor(IAdvisor) Method

Removes the supplied advisor the list of advisors for this proxy.

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

Parameters

advisor
The advisor to remove.

Return Value

true if advisor was found in the list of Advisors for this proxy and was successfully removed; false if not or if the supplied advisor is .

Exceptions

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

See Also

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