Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAfterReturningAdvice Interface

Advice that executes after a method returns successfully.

For a list of all members of this type, see IAfterReturningAdvice Members .

[Visual Basic]
Public Interface IAfterReturningAdvice
    Implements IAdvice
public interface IAfterReturningAdvice : IAdvice

Types that implement IAfterReturningAdvice

Type Description
CacheParameterAdvice Implementation of a parameter caching advice.
InvalidateCacheAdvice Implementation of a cache invalidation advice.


After returning advice is invoked only on a normal method return, but not if an exception is thrown. Such advice can see the return value of the advised method invocation, but cannot change it.

Possible uses for this type of advice would include performing access control checks on the return value of an advised method invocation, the ubiquitous logging of method invocation return values (useful during development), etc.


Namespace: Spring.Aop

Assembly: Spring.Aop (in Spring.Aop.dll)

See Also

IAfterReturningAdvice Members | Spring.Aop Namespace | IMethodBeforeAdvice | IThrowsAdvice | IMethodInterceptor