Partager via


KernelArgumentsExtensions.ExitLoop(KernelArguments, String) Method

Definition

Signal the orchestrator to exit out of the AtLeastOnce or ZeroOrMore loop. If response is non-null, that value will be outputted to the user.

public static void ExitLoop (this Microsoft.SemanticKernel.KernelArguments arguments, string? response = default);
static member ExitLoop : Microsoft.SemanticKernel.KernelArguments * string -> unit
<Extension()>
Public Sub ExitLoop (arguments As KernelArguments, Optional response As String = Nothing)

Parameters

arguments
KernelArguments

Context arguments.

response
String

context

Applies to