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