Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DynamicMethodInvocation Constructor

Creates a new instance of the DynamicMethodInvocation class.

[Visual Basic]
Public Sub New( _
   ByVal proxy As Object, _
   ByVal target As Object, _
   ByVal method As MethodInfo, _
   ByVal proxyMethod As MethodInfo, _
   ByVal arguments As Object, _
   ByVal targetType As Type, _
   ByVal interceptors As IList _
)
[C#]
DynamicMethodInvocation(
   object proxy,
   object target,
   MethodInfo method,
   MethodInfo proxyMethod,
   object[] arguments,
   Type targetType,
   IList interceptors
);

Parameters

proxy
The AOP proxy.
target
The target object.
method
The target method proxied.
proxyMethod
The method to invoke on proxy.
arguments
The target method's arguments.
targetType
The Type of the target object.
interceptors
The list of interceptors that are to be applied. May be .

Exceptions

Exception Type Condition
ArgumentNullException If any of the target or method parameters is a null reference (Nothing in Visual Basic).

See Also

DynamicMethodInvocation Class | Spring.Aop.Framework Namespace