你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResponseFailedEvent Constructors

Definition

Overloads

ResponseFailedEvent()

Source:
ResponseFailedEvent.cs

Initializes a new instance of ResponseFailedEvent for deserialization.

public ResponseFailedEvent();
Public Sub New ()

Applies to

ResponseFailedEvent(Int32, Response)

Source:
ResponseFailedEvent.cs

Initializes a new instance of ResponseFailedEvent.

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

Parameters

sequenceNumber
Int32

The sequence number for this event.

response
Response

The response that failed.

Exceptions

response is null.

Applies to

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

Source:
ResponseFailedEvent.cs

Initializes a new instance of ResponseFailedEvent.

public ResponseFailedEvent(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.ResponseFailedEvent : 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.ResponseFailedEvent
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 failed.

Applies to