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

MessageAttachment Constructors

Definition

Overloads

MessageAttachment(IEnumerable<BinaryData>)

Source:
MessageAttachment.cs
Source:
MessageAttachment.cs

Initializes a new instance of MessageAttachment.

public MessageAttachment(System.Collections.Generic.IEnumerable<BinaryData> tools);
new Azure.AI.Agents.Persistent.MessageAttachment : seq<BinaryData> -> Azure.AI.Agents.Persistent.MessageAttachment
Public Sub New (tools As IEnumerable(Of BinaryData))

Parameters

tools
IEnumerable<BinaryData>

The tools to add to this file.

Exceptions

tools is null.

Applies to

MessageAttachment(VectorStoreDataSource, List<ToolDefinition>)

Source:
MessageAttachment.cs
Source:
MessageAttachment.cs
public MessageAttachment(Azure.AI.Agents.Persistent.VectorStoreDataSource ds, System.Collections.Generic.List<Azure.AI.Agents.Persistent.ToolDefinition> tools);
new Azure.AI.Agents.Persistent.MessageAttachment : Azure.AI.Agents.Persistent.VectorStoreDataSource * System.Collections.Generic.List<Azure.AI.Agents.Persistent.ToolDefinition> -> Azure.AI.Agents.Persistent.MessageAttachment
Public Sub New (ds As VectorStoreDataSource, tools As List(Of ToolDefinition))

Parameters

Applies to

MessageAttachment(String, List<ToolDefinition>)

Source:
MessageAttachment.cs
Source:
MessageAttachment.cs
public MessageAttachment(string fileId, System.Collections.Generic.List<Azure.AI.Agents.Persistent.ToolDefinition> tools);
new Azure.AI.Agents.Persistent.MessageAttachment : string * System.Collections.Generic.List<Azure.AI.Agents.Persistent.ToolDefinition> -> Azure.AI.Agents.Persistent.MessageAttachment
Public Sub New (fileId As String, tools As List(Of ToolDefinition))

Parameters

fileId
String

Applies to