Share via


ResponseCreatedEvent Constructors

Definition

Overloads

ResponseCreatedEvent()

Source:
ResponseCreatedEvent.cs

Initializes a new instance of ResponseCreatedEvent for deserialization.

public ResponseCreatedEvent();
Public Sub New ()

Applies to

ResponseCreatedEvent(Int32, Response)

Source:
ResponseCreatedEvent.cs

Initializes a new instance of ResponseCreatedEvent.

public ResponseCreatedEvent(int sequenceNumber, Azure.AI.AgentServer.Contracts.Generated.Responses.Response response);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCreatedEvent : int * Azure.AI.AgentServer.Contracts.Generated.Responses.Response -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCreatedEvent
Public Sub New (sequenceNumber As Integer, response As Response)

Parameters

sequenceNumber
Int32

The sequence number for this event.

response
Response

The response that was created.

Exceptions

response is null.

Applies to

ResponseCreatedEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, Response)

Source:
ResponseCreatedEvent.cs

Initializes a new instance of ResponseCreatedEvent.

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

Parameters

sequenceNumber
Int32

The sequence number for this event.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

response
Response

The response that was created.

Applies to