ResponseCompletedEvent Constructors
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.
Overloads
| Name | Description |
|---|---|
| ResponseCompletedEvent() |
Initializes a new instance of ResponseCompletedEvent for deserialization. |
| ResponseCompletedEvent(Int32, Response) |
Initializes a new instance of ResponseCompletedEvent. |
| ResponseCompletedEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, Response) |
Initializes a new instance of ResponseCompletedEvent. |
ResponseCompletedEvent()
- Source:
- ResponseCompletedEvent.cs
Initializes a new instance of ResponseCompletedEvent for deserialization.
public ResponseCompletedEvent();
Public Sub New ()
Applies to
ResponseCompletedEvent(Int32, Response)
- Source:
- ResponseCompletedEvent.cs
Initializes a new instance of ResponseCompletedEvent.
public ResponseCompletedEvent(int sequenceNumber, Azure.AI.AgentServer.Contracts.Generated.Responses.Response response);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCompletedEvent : int * Azure.AI.AgentServer.Contracts.Generated.Responses.Response -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseCompletedEvent
Public Sub New (sequenceNumber As Integer, response As Response)
Parameters
- sequenceNumber
- Int32
The sequence number for this event.
- response
- Response
Properties of the completed response.
Exceptions
response is null.
Applies to
ResponseCompletedEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, Response)
- Source:
- ResponseCompletedEvent.cs
Initializes a new instance of ResponseCompletedEvent.
public ResponseCompletedEvent(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.ResponseCompletedEvent : 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.ResponseCompletedEvent
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
Properties of the completed response.