PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Method­Execution­Args Class / Method­Execution­Args Properties / Method­Execution­Args.​Flow­Behavior Property

MethodExecutionArgs.FlowBehavior Property

Determines the control flow of the target method once the advice is exited.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: (
public FlowBehavior FlowBehavior { get; set; }

Property Value

Type: FlowBehavior
Note Note
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.
When this advice is applied to a state machine, you only have limited flow behavior options available. See documentation for FlowBehavior for details.
See Also