| Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference |
|
IAdvised.AddAdvice(Int32, IAdvice) Method
Adds the supplied advice to the supplied position in the advice (interceptor) chain.
[Visual Basic]
Public Sub AddAdvice( _
ByVal
position As
Integer, _
ByVal
advice As
IAdvice _
)
Parameters
-
position
- The zero (0) indexed position (from the head) at which the supplied advice is to be inserted into the advice (interceptor) chain.
-
advice
- The IAdvice to be added.
Remarks
Please be aware that Spring.NET's AOP implementation only supports method advice (as encapsulated by the IMethodInterceptor interface).
See Also
IAdvised Interface | Spring.Aop.Framework Namespace | IAdvised.AddAdvice Overload List | DefaultPointcutAdvisor | AddAdvice