ResponseRefusalDoneEvent(Int64, String, Int64, Int64, String) Constructor

Definition

Initializes a new instance of ResponseRefusalDoneEvent.

public ResponseRefusalDoneEvent(long sequenceNumber, string itemId, long outputIndex, long contentIndex, string refusal);
new Azure.AI.AgentServer.Responses.Models.ResponseRefusalDoneEvent : int64 * string * int64 * int64 * string -> Azure.AI.AgentServer.Responses.Models.ResponseRefusalDoneEvent
Public Sub New (sequenceNumber As Long, itemId As String, outputIndex As Long, contentIndex As Long, refusal As String)

Parameters

sequenceNumber
Int64
itemId
String

The ID of the output item that the refusal text is finalized.

outputIndex
Int64

The index of the output item that the refusal text is finalized.

contentIndex
Int64

The index of the content part that the refusal text is finalized.

refusal
String

The refusal text that is finalized.

Exceptions

itemId or refusal is null.

Applies to