RegExpTrigger Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.