다음을 통해 공유


InputDialog.AppendChoices 메서드

정의

오버로드

AppendChoices(IMessageActivity, String, IList<Choice>, ListStyle, ChoiceFactoryOptions, CancellationToken)

AppendChoices는 모든 옵션을 고려할 때 메시지 활동을 빌드하는 유틸리티 메서드입니다.

AppendChoices(IMessageActivity, String, IList<Choice>, ListStyle, ChoiceFactoryOptions, String, IList<String>, CancellationToken)

AppendChoices는 모든 옵션을 고려할 때 메시지 활동을 빌드하는 유틸리티 메서드입니다.

AppendChoices(IMessageActivity, String, IList<Choice>, ListStyle, ChoiceFactoryOptions, CancellationToken)

AppendChoices는 모든 옵션을 고려할 때 메시지 활동을 빌드하는 유틸리티 메서드입니다.

protected virtual Microsoft.Bot.Schema.IMessageActivity AppendChoices (Microsoft.Bot.Schema.IMessageActivity prompt, string channelId, System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> choices, Microsoft.Bot.Builder.Dialogs.Choices.ListStyle style, Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AppendChoices : Microsoft.Bot.Schema.IMessageActivity * string * System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> * Microsoft.Bot.Builder.Dialogs.Choices.ListStyle * Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions * System.Threading.CancellationToken -> Microsoft.Bot.Schema.IMessageActivity
override this.AppendChoices : Microsoft.Bot.Schema.IMessageActivity * string * System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> * Microsoft.Bot.Builder.Dialogs.Choices.ListStyle * Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions * System.Threading.CancellationToken -> Microsoft.Bot.Schema.IMessageActivity
Protected Overridable Function AppendChoices (prompt As IMessageActivity, channelId As String, choices As IList(Of Choice), style As ListStyle, Optional options As ChoiceFactoryOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IMessageActivity

매개 변수

prompt
IMessageActivity

프롬프트.

channelId
String

channelId.

choices
IList<Choice>

선택할 수 있습니다.

style
ListStyle

listType.

options
ChoiceFactoryOptions

옵션으로 선택 렌더링을 제어할 수 있습니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

사용자에게 보낼 준비가 된 바인딩된 작업입니다.

적용 대상

AppendChoices(IMessageActivity, String, IList<Choice>, ListStyle, ChoiceFactoryOptions, String, IList<String>, CancellationToken)

AppendChoices는 모든 옵션을 고려할 때 메시지 활동을 빌드하는 유틸리티 메서드입니다.

protected virtual Microsoft.Bot.Schema.IMessageActivity AppendChoices (Microsoft.Bot.Schema.IMessageActivity prompt, string channelId, System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> choices, Microsoft.Bot.Builder.Dialogs.Choices.ListStyle style, Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions options = default, string conversationType = default, System.Collections.Generic.IList<string> toList = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AppendChoices : Microsoft.Bot.Schema.IMessageActivity * string * System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> * Microsoft.Bot.Builder.Dialogs.Choices.ListStyle * Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> Microsoft.Bot.Schema.IMessageActivity
override this.AppendChoices : Microsoft.Bot.Schema.IMessageActivity * string * System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> * Microsoft.Bot.Builder.Dialogs.Choices.ListStyle * Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> Microsoft.Bot.Schema.IMessageActivity
Protected Overridable Function AppendChoices (prompt As IMessageActivity, channelId As String, choices As IList(Of Choice), style As ListStyle, Optional options As ChoiceFactoryOptions = Nothing, Optional conversationType As String = Nothing, Optional toList As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IMessageActivity

매개 변수

prompt
IMessageActivity

프롬프트.

channelId
String

channelId.

choices
IList<Choice>

선택할 수 있습니다.

style
ListStyle

listType.

options
ChoiceFactoryOptions

옵션으로 선택 렌더링을 제어할 수 있습니다.

conversationType
String

대화의 형식입니다.

toList
IList<String>

받는 사람 목록입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

사용자에게 보낼 준비가 된 바인딩된 작업입니다.

적용 대상