Share via


ResponseOutputItemAddedEvent Constructors

Definition

Overloads

ResponseOutputItemAddedEvent()

Source:
ResponseOutputItemAddedEvent.cs

Initializes a new instance of ResponseOutputItemAddedEvent for deserialization.

public ResponseOutputItemAddedEvent();
Public Sub New ()

Applies to

ResponseOutputItemAddedEvent(Int32, Int32, ItemResource)

Source:
ResponseOutputItemAddedEvent.cs

Initializes a new instance of ResponseOutputItemAddedEvent.

public ResponseOutputItemAddedEvent(int sequenceNumber, int outputIndex, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemResource item);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseOutputItemAddedEvent : int * int * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemResource -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseOutputItemAddedEvent
Public Sub New (sequenceNumber As Integer, outputIndex As Integer, item As ItemResource)

Parameters

sequenceNumber
Int32

The sequence number for this event.

outputIndex
Int32

The index of the output item that was added.

Exceptions

item is null.

Applies to

ResponseOutputItemAddedEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, Int32, ItemResource)

Source:
ResponseOutputItemAddedEvent.cs

Initializes a new instance of ResponseOutputItemAddedEvent.

public ResponseOutputItemAddedEvent(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType type, int sequenceNumber, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, int outputIndex, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemResource item);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseOutputItemAddedEvent : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType * int * System.Collections.Generic.IDictionary<string, BinaryData> * int * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemResource -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseOutputItemAddedEvent
Public Sub New (type As ResponseStreamEventType, sequenceNumber As Integer, serializedAdditionalRawData As IDictionary(Of String, BinaryData), outputIndex As Integer, item As ItemResource)

Parameters

sequenceNumber
Int32

The sequence number for this event.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

outputIndex
Int32

The index of the output item that was added.

Applies to