User-defined state information whose lifetime is linked to the current method execution. Aspects derived from OnMethodBoundaryAspect should use this property to save state information between different events (OnEntry(MethodExecutionEventArgs), OnExit(MethodExecutionEventArgs) and OnException(MethodExecutionEventArgs)).

Namespace:  PostSharp.Laos
Assembly:  PostSharp.Laos (in PostSharp.Laos.dll)

Syntax

Visual Basic (Declaration)
Public Property MethodExecutionTag As Object
C#
public Object MethodExecutionTag { get; set; }
Visual C++
public:
property Object^ MethodExecutionTag {
	Object^ get ();
	void set (Object^ value);
}

See Also