Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdvised.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 Sub RemoveAdvisor( _
   ByVal index As Integer _
)
[C#]
void RemoveAdvisor(
   int index
);

Parameters

index
The index of the IAdvisor to remove.

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

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