SimpleDirectiveRegex Constructor (TimeSpan)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Namespace:   System.Web.RegularExpressions
Assembly:  System.Web.RegularExpressions (in System.Web.RegularExpressions.dll)

public SimpleDirectiveRegex(
	TimeSpan A_1
)

Parameters

A_1
Type: System.TimeSpan

A time-out interval, or Regex.InfiniteMatchTimeout if matching operations should not time out.

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.

.NET Framework
Available since 4.5
Return to top
Show: