PostSharpAPI ReferencePost­Sharp.​AspectsMethod­Execution­ArgsFlow­Behavior
Open sandboxFocus

MethodExecutionArgs.FlowBehavior Property

FlowBehavior

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

Declaration
public FlowBehavior FlowBehavior { get; set; }
Property Value
Type Description
FlowBehavior
Remarks

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.