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

PersistentAgentsModelFactory.MessageDeltaTextAnnotation(Int32, String) Method

Definition

Initializes a new instance of MessageDeltaTextAnnotation.

public static Azure.AI.Agents.Persistent.MessageDeltaTextAnnotation MessageDeltaTextAnnotation(int index = 0, string type = default);
static member MessageDeltaTextAnnotation : int * string -> Azure.AI.Agents.Persistent.MessageDeltaTextAnnotation
Public Shared Function MessageDeltaTextAnnotation (Optional index As Integer = 0, Optional type As String = Nothing) As MessageDeltaTextAnnotation

Parameters

index
Int32

The index of the annotation within a text content part.

type
String

The type of the text content annotation.

Returns

A new MessageDeltaTextAnnotation instance for mocking.

Applies to