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

ResponseErrorEvent Constructors

Definition

Overloads

ResponseErrorEvent()

Source:
ResponseErrorEvent.cs

Initializes a new instance of ResponseErrorEvent for deserialization.

public ResponseErrorEvent();
Public Sub New ()

Applies to

ResponseErrorEvent(Int32, String, String, String)

Source:
ResponseErrorEvent.cs

Initializes a new instance of ResponseErrorEvent.

public ResponseErrorEvent(int sequenceNumber, string code, string message, string param);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseErrorEvent : int * string * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseErrorEvent
Public Sub New (sequenceNumber As Integer, code As String, message As String, param As String)

Parameters

sequenceNumber
Int32

The sequence number for this event.

code
String

The error code.

message
String

The error message.

param
String

The error parameter.

Exceptions

message is null.

Applies to

ResponseErrorEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, String, String, String)

Source:
ResponseErrorEvent.cs

Initializes a new instance of ResponseErrorEvent.

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

Parameters

sequenceNumber
Int32

The sequence number for this event.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

code
String

The error code.

message
String

The error message.

param
String

The error parameter.

Applies to