ResponseRefusalDeltaEvent 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 |
|---|---|
| ResponseRefusalDeltaEvent() |
Initializes a new instance of ResponseRefusalDeltaEvent for deserialization. |
| ResponseRefusalDeltaEvent(Int32, String, Int32, Int32, String) |
Initializes a new instance of ResponseRefusalDeltaEvent. |
| ResponseRefusalDeltaEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, String, Int32, Int32, String) |
Initializes a new instance of ResponseRefusalDeltaEvent. |
ResponseRefusalDeltaEvent()
- Source:
- ResponseRefusalDeltaEvent.cs
Initializes a new instance of ResponseRefusalDeltaEvent for deserialization.
public ResponseRefusalDeltaEvent();
Public Sub New ()
Applies to
ResponseRefusalDeltaEvent(Int32, String, Int32, Int32, String)
- Source:
- ResponseRefusalDeltaEvent.cs
Initializes a new instance of ResponseRefusalDeltaEvent.
public ResponseRefusalDeltaEvent(int sequenceNumber, string itemId, int outputIndex, int contentIndex, string delta);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseRefusalDeltaEvent : int * string * int * int * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseRefusalDeltaEvent
Public Sub New (sequenceNumber As Integer, itemId As String, outputIndex As Integer, contentIndex As Integer, delta As String)
Parameters
- sequenceNumber
- Int32
The sequence number for this event.
- itemId
- String
The ID of the output item that the refusal text is added to.
- outputIndex
- Int32
The index of the output item that the refusal text is added to.
- contentIndex
- Int32
The index of the content part that the refusal text is added to.
- delta
- String
The refusal text that is added.
Exceptions
itemId or delta is null.
Applies to
ResponseRefusalDeltaEvent(ResponseStreamEventType, Int32, IDictionary<String,BinaryData>, String, Int32, Int32, String)
- Source:
- ResponseRefusalDeltaEvent.cs
Initializes a new instance of ResponseRefusalDeltaEvent.
public ResponseRefusalDeltaEvent(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType type, int sequenceNumber, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string itemId, int outputIndex, int contentIndex, string delta);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseRefusalDeltaEvent : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseStreamEventType * int * System.Collections.Generic.IDictionary<string, BinaryData> * string * int * int * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponseRefusalDeltaEvent
Public Sub New (type As ResponseStreamEventType, sequenceNumber As Integer, serializedAdditionalRawData As IDictionary(Of String, BinaryData), itemId As String, outputIndex As Integer, contentIndex As Integer, delta As String)
Parameters
- sequenceNumber
- Int32
The sequence number for this event.
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- itemId
- String
The ID of the output item that the refusal text is added to.
- outputIndex
- Int32
The index of the output item that the refusal text is added to.
- contentIndex
- Int32
The index of the content part that the refusal text is added to.
- delta
- String
The refusal text that is added.