Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMethodBeforeAdvice.Before Method

The callback before a given method is invoked.

[Visual Basic]
Public Sub Before( _
   ByVal method As MethodInfo, _
   ByVal args As Object, _
   ByVal target As Object _
)
[C#]
void Before(
   MethodInfo method,
   object[] args,
   object target
);

Parameters

method
The method being invoked.
args
The arguments to the method.
target
The target of the method invocation. May be a null reference (Nothing in Visual Basic).

Exceptions

Exception Type Condition
Exception Thrown when and if this object wishes to abort the call. Any exception so thrown will be propagated to the caller.

See Also

IMethodBeforeAdvice Interface | Spring.Aop Namespace