SimpleDirectiveRegex Constructors
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.
Initializes a new instance of the SimpleDirectiveRegex class.
SimpleDirectiveRegex() |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SimpleDirectiveRegex class. |
SimpleDirectiveRegex(TimeSpan) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the SimpleDirectiveRegex class with a specified time-out value. |
Initializes a new instance of the SimpleDirectiveRegex class.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
SimpleDirectiveRegex();
public SimpleDirectiveRegex();
Public Sub New ()
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the SimpleDirectiveRegex class with a specified time-out value.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
SimpleDirectiveRegex(TimeSpan A_1);
public SimpleDirectiveRegex(TimeSpan A_1);
new System.Web.RegularExpressions.SimpleDirectiveRegex : TimeSpan -> System.Web.RegularExpressions.SimpleDirectiveRegex
Public Sub New (A_1 As TimeSpan)
Parameters
- A_1
- TimeSpan
A time-out interval, or InfiniteMatchTimeout if matching operations should not time out.
Remarks
The A_1
parameter represents the maximum time interval during which the regular expression engine tries to find a match before the operation times out and a RegexMatchTimeoutException expression is thrown.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: