Language

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

再試行する回数

適用対象