Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CommentRegex Constructor (TimeSpan)

.NET Framework 4.6 and 4.5

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

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

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

public CommentRegex(
	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 exception is thrown.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft