Share via


RegExpTrigger Constructors

Definition

Overloads

RegExpTrigger(String)

Initializes a new instance of the RegExpTrigger class.

RegExpTrigger(Regex)

Initializes a new instance of the RegExpTrigger class.

RegExpTrigger(String)

Initializes a new instance of the RegExpTrigger class.

public RegExpTrigger (string pattern);
new Microsoft.TeamsFx.Conversation.RegExpTrigger : string -> Microsoft.TeamsFx.Conversation.RegExpTrigger
Public Sub New (pattern As String)

Parameters

pattern
String

The regular expression pattern string.

Exceptions

pattern is null.

Applies to

RegExpTrigger(Regex)

Initializes a new instance of the RegExpTrigger class.

public RegExpTrigger (System.Text.RegularExpressions.Regex pattern);
new Microsoft.TeamsFx.Conversation.RegExpTrigger : System.Text.RegularExpressions.Regex -> Microsoft.TeamsFx.Conversation.RegExpTrigger
Public Sub New (pattern As Regex)

Parameters

pattern
Regex

The regular expression pattern.

Exceptions

pattern is null.

Applies to