ResponseQueuedEvent Class
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.
Emitted when a response is queued and waiting to be processed.
public class ResponseQueuedEvent : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEvent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseQueuedEvent>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseQueuedEvent>
type ResponseQueuedEvent = class
inherit ResponseStreamEvent
interface IUtf8JsonSerializable
interface IJsonModel<ResponseQueuedEvent>
interface IPersistableModel<ResponseQueuedEvent>
Public Class ResponseQueuedEvent
Inherits ResponseStreamEvent
Implements IJsonModel(Of ResponseQueuedEvent), IPersistableModel(Of ResponseQueuedEvent)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ResponseQueuedEvent() |
Initializes a new instance of ResponseQueuedEvent for deserialization. |
| ResponseQueuedEvent(Int32, Response) |
Initializes a new instance of ResponseQueuedEvent. |
| ResponseQueuedEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, Response) |
Initializes a new instance of ResponseQueuedEvent. |
Properties
| Name | Description |
|---|---|
| Response |
The full response object that is queued. |
| SequenceNumber |
The sequence number for this event. (Inherited from ResponseStreamEvent) |
| Type |
Gets or sets the type. (Inherited from ResponseStreamEvent) |
Methods
| Name | Description |
|---|---|
| DeserializeResponseQueuedEvent(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |