AttachmentsExtensions.GetAttachmentStreamAsync Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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)
Parâmetros
- operations
- IAttachments
- attachmentId
- String
- viewId
- String
- cancellationToken
- CancellationToken