ResponseEventStream.EmitCreated(ResponseStatus) 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.
Produces a response.created event.
Sets Status to the specified value before creating the event.
Use Queued when the response will go through
a queued phase before processing; use InProgress
(the default) to start processing immediately.
public virtual Azure.AI.AgentServer.Responses.Models.ResponseCreatedEvent EmitCreated(Azure.AI.AgentServer.Responses.Models.ResponseStatus status = Azure.AI.AgentServer.Responses.Models.ResponseStatus.InProgress);
abstract member EmitCreated : Azure.AI.AgentServer.Responses.Models.ResponseStatus -> Azure.AI.AgentServer.Responses.Models.ResponseCreatedEvent
override this.EmitCreated : Azure.AI.AgentServer.Responses.Models.ResponseStatus -> Azure.AI.AgentServer.Responses.Models.ResponseCreatedEvent
Public Overridable Function EmitCreated (Optional status As ResponseStatus = Azure.AI.AgentServer.Responses.Models.ResponseStatus.InProgress) As ResponseCreatedEvent
Parameters
- status
- ResponseStatus
The initial response status. Defaults to InProgress.
Returns
A ResponseCreatedEvent with the current response snapshot.