ResponsesProvider.UpdateResponseAsync Method
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.
Persists an updated response snapshot. Handles all state transitions including completion β there is no separate mark-completed operation.
public abstract System.Threading.Tasks.Task UpdateResponseAsync(Azure.AI.AgentServer.Responses.Models.ResponseObject response, Azure.AI.AgentServer.Core.IsolationContext isolation, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateResponseAsync : Azure.AI.AgentServer.Responses.Models.ResponseObject * Azure.AI.AgentServer.Core.IsolationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function UpdateResponseAsync (response As ResponseObject, isolation As IsolationContext, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- response
- ResponseObject
The updated response snapshot.
- isolation
- IsolationContext
The platform isolation context. Use Empty when not applicable.
- cancellationToken
- CancellationToken
A token to cancel the operation.