다음을 통해 공유


PromptDialog.Attachment 메서드

정의

첨부 파일 프롬프트

public static void Attachment (Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.ResumeAfter<System.Collections.Generic.IEnumerable<Microsoft.Bot.Connector.Attachment>> resume, string prompt, System.Collections.Generic.IEnumerable<string> contentTypes = default, string retry = default, int attempts = 3);
static member Attachment : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.ResumeAfter<seq<Microsoft.Bot.Connector.Attachment>> * string * seq<string> * string * int -> unit
Public Shared Sub Attachment (context As IDialogContext, resume As ResumeAfter(Of IEnumerable(Of Attachment)), prompt As String, Optional contentTypes As IEnumerable(Of String) = Nothing, Optional retry As String = Nothing, Optional attempts As Integer = 3)

매개 변수

context
IDialogContext

다이얼로그 컨텍스트입니다.

resume
ResumeAfter<IEnumerable<Attachment>>

다시 시작 처리기.

prompt
String

사용자에게 표시할 프롬프트입니다.

contentTypes
IEnumerable<String>

첨부 파일 형식이 포함되어야 하는 선택적 콘텐츠 형식

retry
String

다시 시도 시 표시할 내용

attempts
Int32

다시 시도할 횟수

적용 대상