Language

IStreamingResponse.AddAttachment(Attachment) Method

Definition

Adds an attachment to the collection of attachments for the final message.

public void AddAttachment(Microsoft.Agents.Core.Models.Attachment attachment);
abstract member AddAttachment : Microsoft.Agents.Core.Models.Attachment -> unit
Public Sub AddAttachment (attachment As Attachment)

Parameters

attachment
Attachment

The attachment to add. Must not be null.

Applies to