Assembly: PostSharp (in PostSharp.dll) Version: 126.96.36.199 (188.8.131.52)
public abstract class MethodInterceptionArgs : AdviceArgs
Thetype exposes the following members.
Gets the list of arguments with which the method has been invoked.
Gets an interface that allows to invoke the next node in the chain of invocation of the intercepted method.
Gets the DeclarationIdentifier of the declaration to which the advice has been applied.(Inherited from AdviceArgs.)
Gets or sets the object instance on which the method is being executed.(Inherited from AdviceArgs.)
Gets the method being executed.
Gets or sets the return value of the method.
Invokes the method that has been intercepted by calling the next node in the chain of invocation with given arguments, without affecting the property ReturnValue.
Gets the implementation of a specified interface for the specified object.(Defined by QueryInterfaceExtensions.)
|As a result of weaving optimizations, instances of classes derived from AdviceArgs may be shared among different aspects. Therefore, aspect code should not attempt to access this object once the control has been given over to the next node in the chain of invocation. Consider working with aspect bindings if you need such deferred execution.|
|Aspect weaving optimizations may also cause an advice parameter of this type to be seen null when inspecting it in a debugger. If you need to inspect the instance in runtime, consider disabling aspect optimizations in the debug build configuration.|