ResponseOutputItemAddedEvent 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 new output item is added.
public class ResponseOutputItemAddedEvent : Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.ResponseOutputItemAddedEvent>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.ResponseOutputItemAddedEvent>
type ResponseOutputItemAddedEvent = class
inherit ResponseStreamEvent
interface IJsonModel<ResponseOutputItemAddedEvent>
interface IPersistableModel<ResponseOutputItemAddedEvent>
Public Class ResponseOutputItemAddedEvent
Inherits ResponseStreamEvent
Implements IJsonModel(Of ResponseOutputItemAddedEvent), IPersistableModel(Of ResponseOutputItemAddedEvent)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ResponseOutputItemAddedEvent(Int64, Int64, OutputItem) |
Initializes a new instance of ResponseOutputItemAddedEvent. |
Properties
| Name | Description |
|---|---|
| EventType |
Gets the event type discriminator (e.g. |
| Item |
The output item that was added. |
| OutputIndex |
The index of the output item that was added. |
| SequenceNumber |
Gets the SequenceNumber. (Inherited from ResponseStreamEvent) |
Methods
Operators
| Name | Description |
|---|---|
| Explicit(ClientResult to ResponseOutputItemAddedEvent) | |
Explicit Interface Implementations
Extension Methods
| Name | Description |
|---|---|
| SnapshotEmbeddedResponse(ResponseStreamEvent, ResponseObject) |
If the event is a lifecycle event that embeds a ResponseObject reference,
replaces it with an immutable snapshot of the given |