Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdvised.RemoveAdvice Method

Removes the supplied advice from the list of Advisors.

[Visual Basic]
Public Sub RemoveAdvice( _
   ByVal advice As IAdvice _
bool RemoveAdvice(
   IAdvice advice


The IAdvice to remove.

Return Value

true if the supplied advice was found in the list of Advisors and successfully removed.


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

See Also

IAdvised Interface | Spring.Aop.Framework Namespace