Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RetryAdvice.Invoke Method

Implement this method to perform extra treatments before and after the call to the supplied invocation.

[Visual Basic]
Public Overrides Sub Invoke( _
   ByVal invocation As IMethodInvocation _
) _
    Implements IMethodInterceptor.Invoke
[C#]
public override object Invoke(
   IMethodInvocation invocation
);

Parameters

invocation
The method invocation that is being intercepted.

Return Value

The result of the call to the Proceed method of the supplied invocation; this return value may well have been intercepted by the interceptor.

Implements

IMethodInterceptor.Invoke

Remarks

Polite implementations would certainly like to invoke Proceed.

Exceptions

Exception Type Condition
Exception If any of the interceptors in the chain or the target object itself throws an exception.

See Also

RetryAdvice Class | Spring.Aspects Namespace