Proper use is AttributePriority. Lower values ββhave higher priority or aspects that apply first.
[Trace(AttributePriority = 2)]
[HandleError(AttributePriority = 1)]
public void MyMethod()
{
}
Priority priority is not valid for a while. AspectDependencyAction defines a βpriorityβ between two aspects. Value if Aspect1 depends on Aspect2, then AspectDependencyAction.Order = After Aspect1 is applied after applying Aspect2. but this is not what you are looking for (I think). Use AttributePriority instead.
source
share