AttachmentsExtensions.GetAttachmentInfoAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
GetAttachmentInfo.
public static System.Threading.Tasks.Task<Microsoft.Bot.Connector.AttachmentInfo> GetAttachmentInfoAsync(this Microsoft.Bot.Connector.IAttachments operations, string attachmentId, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<Microsoft.Bot.Schema.AttachmentInfo> GetAttachmentInfoAsync(this Microsoft.Bot.Connector.IAttachments operations, string attachmentId, System.Threading.CancellationToken cancellationToken = default);
static member GetAttachmentInfoAsync : Microsoft.Bot.Connector.IAttachments * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.AttachmentInfo>
static member GetAttachmentInfoAsync : Microsoft.Bot.Connector.IAttachments * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.AttachmentInfo>
<Extension()>
Public Function GetAttachmentInfoAsync (operations As IAttachments, attachmentId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AttachmentInfo)
Parametri
- operations
- IAttachments
Il gruppo operativo per questo metodo di estensione.
- attachmentId
- String
ID allegato.
- cancellationToken
- CancellationToken
Token di annullamento.
Valori restituiti
Le informazioni sugli allegati.
Commenti
Ottiene la struttura AttachmentInfo che descrive le visualizzazioni degli allegati.