Edit

Share via


TextRegex Constructors

Definition

Initializes a new instance of the TextRegex class.

Overloads

TextRegex()

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the TextRegex class.

TextRegex(TimeSpan)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the TextRegex class with a specified time-out value.

TextRegex()

Initializes a new instance of the TextRegex class.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 TextRegex();
public TextRegex ();
Public Sub New ()

Applies to

TextRegex(TimeSpan)

Initializes a new instance of the TextRegex 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:
 TextRegex(TimeSpan A_1);
public TextRegex (TimeSpan A_1);
new System.Web.RegularExpressions.TextRegex : TimeSpan -> System.Web.RegularExpressions.TextRegex
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.

Applies to