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.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)


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