IAttachments.GetAttachmentInfoAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.