MethodExecutionArgs.MethodExecutionTag Property |
User-defined state information whose lifetime is linked to the
current method execution. Aspects derived from IOnMethodBoundaryAspect
should use this property to save state information between
different events (OnEntry(MethodExecutionArgs),
OnExit(MethodExecutionArgs) and OnException(MethodExecutionArgs)).
Namespace: PostSharp.AspectsAssembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)


![]() |
---|
As a result of weaving optimizations, value of this property may be seen null in a debugger. If you need to inspect the value in runtime, consider disabling aspect optimizations in the debug build configuration. |
