SimpleDirectiveRegex Constructors

Definition

Initializes a new instance of the SimpleDirectiveRegex class.

Overloads

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.

SimpleDirectiveRegex()

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.

C#
public SimpleDirectiveRegex();

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

SimpleDirectiveRegex(TimeSpan)

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.

C#
public SimpleDirectiveRegex(TimeSpan A_1);

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