Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AfterReturningAdviceInterceptor.Invoke Method

Executes interceptor after the target method successfully returns.

[Visual Basic]
Public NotOverridable Sub Invoke( _
   ByVal invocation As IMethodInvocation _
) _
    Implements IMethodInterceptor.Invoke
[C#]
public 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

Exceptions

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

See Also

AfterReturningAdviceInterceptor Class | Spring.Aop.Framework.Adapter Namespace