다음을 통해 공유


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 구조를 가져옵니다.

적용 대상