Freigeben über


IAttachments.GetAttachmentInfoAsync(String, CancellationToken) Method

Definition

Get AttachmentInfo structure describing the attachment views.

public System.Threading.Tasks.Task<Microsoft.Agents.Connector.Types.AttachmentInfo> GetAttachmentInfoAsync(string attachmentId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAttachmentInfoAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Connector.Types.AttachmentInfo>
Public Function GetAttachmentInfoAsync (attachmentId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AttachmentInfo)

Parameters

attachmentId
String

attachment id.

cancellationToken
CancellationToken

The cancellation token.

Returns

A task that represents the work queued to execute.

Applies to