PromptOptionsWithSynonyms<T> 类

定义

具有 的同义词 PromptDialog的选项。

[System.Serializable]
public class PromptOptionsWithSynonyms<T> : Microsoft.Bot.Builder.Dialogs.IPromptOptions<T>
[<System.Serializable>]
type PromptOptionsWithSynonyms<'T> = class
    interface IPromptOptions<'T>
Public Class PromptOptionsWithSynonyms(Of T)
Implements IPromptOptions(Of T)

类型参数

T

选项的类型。

继承
PromptOptionsWithSynonyms<T>
属性
实现

构造函数

PromptOptionsWithSynonyms<T>(String, String, String, IReadOnlyDictionary<T, IReadOnlyList<T>>, Int32, PromptStyler, IReadOnlyList<String>, String, String, IPromptRecognizer)

构造提示选项。

属性

Attempts

最大尝试次数。

Choices

选择时要返回的选项和同义词。

DefaultRetry

如果 Retry 为 null,则使用的默认重试提示。

DefaultRetrySpeak

如果 RetrySpeak 为 null,则使用的默认重试说话。

DefaultTooManyAttempts

如果 TooManyAttempts 为 null,则使用的默认TooManyAttempts字符串。

Descriptions

每个可能选项的说明。

Options

选择时要返回的选项。

Prompt

提示符。

PromptStyler

提示 PromptStyler的样式器。

Recognizer

用于分析消息内容的实体识别器

Retry

重试时显示的内容。

RetrySpeak

为文本转语音) (SSML 标记重试朗语标记

Speak

文本转语音) 的语音标记 (SSML 标记

TooManyAttempts

当用户在 之后 Attempts未说出有效响应时要显示的内容。

适用于