PostSharp6.6//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: 6.6.14.0 (6.6.14.0)
Syntax
C#
public FlowBehavior FlowBehavior { get; set; }

Property Value

Type: FlowBehavior
Remarks
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