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