Share via


PromptAttribute Constructors

Definition

Overloads

PromptAttribute(TemplateAttribute)

Define a prompt based on a TemplateAttribute.

PromptAttribute(String[])

Define a prompt with one or more \ref patterns patterns to choose from randomly.

PromptAttribute(TemplateAttribute)

Source:
Attributes.cs

Define a prompt based on a TemplateAttribute.

public PromptAttribute (Microsoft.Bot.Builder.FormFlow.TemplateAttribute pattern);
new Microsoft.Bot.Builder.FormFlow.PromptAttribute : Microsoft.Bot.Builder.FormFlow.TemplateAttribute -> Microsoft.Bot.Builder.FormFlow.PromptAttribute
Public Sub New (pattern As TemplateAttribute)

Parameters

pattern
TemplateAttribute

Template to use.

Applies to

PromptAttribute(String[])

Source:
Attributes.cs

Define a prompt with one or more \ref patterns patterns to choose from randomly.

public PromptAttribute (params string[] patterns);
new Microsoft.Bot.Builder.FormFlow.PromptAttribute : string[] -> Microsoft.Bot.Builder.FormFlow.PromptAttribute
Public Sub New (ParamArray patterns As String())

Parameters

patterns
String[]

Patterns to select from.

Applies to