MagenticWorkflowBuilder.WithMaxRounds(Nullable<Int32>) Method

Definition

Set the maximum number of coordination rounds. null means unlimited.

public Microsoft.Agents.AI.Workflows.MagenticWorkflowBuilder WithMaxRounds(int? maxRounds = default);
member this.WithMaxRounds : Nullable<int> -> Microsoft.Agents.AI.Workflows.MagenticWorkflowBuilder
Public Function WithMaxRounds (Optional maxRounds As Nullable(Of Integer) = Nothing) As MagenticWorkflowBuilder

Parameters

maxRounds
Nullable<Int32>

Returns

Applies to