Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport.RemoveAdvisor(IAdvisor) Method

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

[Visual Basic]
Public NotOverridable Overloads Sub RemoveAdvisor( _
   ByVal advisor As IAdvisor _
) _
    Implements IAdvised.RemoveAdvisor
[C#]
public 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 .

Implements

IAdvised.RemoveAdvisor

Exceptions

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

See Also

AdvisedSupport Class | Spring.Aop.Framework Namespace | AdvisedSupport.RemoveAdvisor Overload List