Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedProxy.Invoke Method

Invokes intercepted methods using reflection

[Visual Basic]
Public Sub Invoke( _
   ByVal proxy As Object, _
   ByVal target As Object, _
   ByVal targetType As Type, _
   ByVal targetMethod As MethodInfo, _
   ByVal proxyMethod As MethodInfo, _
   ByVal args As Object, _
   ByVal interceptors As IList _
)
[C#]
public object Invoke(
   object proxy,
   object target,
   Type targetType,
   MethodInfo targetMethod,
   MethodInfo proxyMethod,
   object[] args,
   IList interceptors
);

Parameters

proxy
proxy object
target
target object to invoke method on
targetType
target type
targetMethod
taget method to invoke
proxyMethod
The method to invoke on proxy.
args
method arguments
interceptors
interceptor chain

Return Value

value returned by invocation chain

See Also

AdvisedProxy Class | Spring.Aop.Framework.DynamicProxy Namespace