PostSharpAPI ReferencePost­Sharp.​AspectsMethod­Execution­ArgsMethod­Execution­Tag
Open sandboxFocus

Property MethodExecutionTag

MethodExecutionTag

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)).

Declaration
public object MethodExecutionTag { get; set; }
Property Value
Type Description
Object