LoopAgentOptions.MaxIterations Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the global safety cap on the number of times the wrapped agent is invoked in a single loop run,
or null to use DefaultMaxIterations.
public int? MaxIterations { get; set; }
member this.MaxIterations : Nullable<int> with get, set
Public Property MaxIterations As Nullable(Of Integer)
Property Value
Remarks
This is an absolute upper bound that applies regardless of the configured LoopEvaluator set. An evaluator may stop the loop earlier, but no evaluator can cause the loop to exceed this cap, so raise this value if you intend to allow longer loops.