MagenticWorkflowBuilder.WithMaxResets(Nullable<Int32>) Method

Definition

Set the maximum number ofnumber of resets allowed. null means unlimited.

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

Parameters

maxResets
Nullable<Int32>

Returns

Applies to