AspExprRegex 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.
Initializes a new instance of the AspExprRegex class.
Overloads
AspExprRegex() |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the AspExprRegex class. |
AspExprRegex(TimeSpan) |
This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the AspExprRegex class with a specified time-out value. |
AspExprRegex()
Initializes a new instance of the AspExprRegex class.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
AspExprRegex();
public AspExprRegex ();
Public Sub New ()
Remarks
This constructor instantiates a compiled regular expression whose predefined regular expression pattern is \G<%\s*?=(?<code>.*?)?%>
.
Applies to
AspExprRegex(TimeSpan)
Initializes a new instance of the AspExprRegex 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:
AspExprRegex(TimeSpan A_1);
public AspExprRegex (TimeSpan A_1);
new System.Web.RegularExpressions.AspExprRegex : TimeSpan -> System.Web.RegularExpressions.AspExprRegex
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 exception is thrown.