次の方法で共有


AttachmentsExtensions.GetAttachmentInfoAsync メソッド

定義

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)

パラメーター

operations
IAttachments

この拡張メソッドの操作グループ。

attachmentId
String

添付ファイル ID。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

AttachmentInfo。

注釈

添付ファイル ビューを記述する AttachmentInfo 構造体を取得します。

適用対象