Open sandboxFocus

Method OnEntry

OnEntry(MethodExecutionArgs)

Method executed before the body of the methods to which this aspect is applied.

Declaration
[HasInheritedAttribute]
public virtual void OnEntry(MethodExecutionArgs args)
Parameters
Type Name Description
MethodExecutionArgs args

Event arguments specifying which method is being executed, what its arguments are, and how the execution should continue after the execution of OnEntry(MethodExecutionArgs).

Implements
Remarks

If the aspect is applied to a constructor, the current method is invoked after the this pointer has been initialized, that is, after the base constructor has been called.