Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport.RemoveAdvisor(Int32) Method

Removes the IAdvisor at the supplied index in the Advisors list from the list of Advisors for this proxy.

[Visual Basic]
Public Overridable Overloads Sub RemoveAdvisor( _
   ByVal index As Integer _
) _
    Implements IAdvised.RemoveAdvisor
[C#]
public virtual void RemoveAdvisor(
   int index
);

Parameters

index
The index of the IAdvisor to remove.

Implements

IAdvised.RemoveAdvisor

Exceptions

Exception Type Condition
AopConfigException If this proxy configuration is frozen and the IAdvisor at the supplied index cannot be removed; or if the supplied index is out of range.

See Also

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