Jaa


AttachmentsExtensions.GetAttachmentStreamAsync Method

Definition

public static System.Threading.Tasks.Task<System.IO.Stream> GetAttachmentStreamAsync (this Microsoft.Bot.Connector.IAttachments operations, string attachmentId, string viewId, System.Threading.CancellationToken cancellationToken = default);
static member GetAttachmentStreamAsync : Microsoft.Bot.Connector.IAttachments * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
<Extension()>
Public Function GetAttachmentStreamAsync (operations As IAttachments, attachmentId As String, viewId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Stream)

Parameters

operations
IAttachments
attachmentId
String
viewId
String
cancellationToken
CancellationToken

Returns

Applies to