FunctionInvokingChatClient.RetryOnError 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 a value indicating whether to handle exceptions that occur during function calls.
public:
property bool RetryOnError { bool get(); void set(bool value); };
public bool RetryOnError { get; set; }
member this.RetryOnError : bool with get, set
Public Property RetryOnError As Boolean
Property Value
false
if the
underlying IChatClient will be instructed to give a response without invoking
any further functions if a function call fails with an exception.
true
if the underlying IChatClient is allowed
to continue attempting function calls until MaximumIterationsPerRequest is reached.
The default value is false
.
Remarks
Changing the value of this property while the client is in use might result in inconsistencies as to whether errors are retried during an in-flight request.