Open sandboxFocus

Property AspectPriority

AspectPriority

Gets or sets the weaving priority of the aspect.

Declaration
public int AspectPriority { get; set; }
Property Value
Type Description
int

The aspect priority, or 0 if the aspect priority is not specified.

Remarks

Advices with a lower priority are executed earlier for 'entry' semantics (entering or invoking a method, setting a field value). This order is inverted for advices with 'exit' semantics (leaving a method, getting a field value).

This property must not be confused with AttributePriority, which only influences the multicasting process.

See Also