RegexMatchTimeoutException Constructor (String, String, TimeSpan)

.NET Framework (current version)

Initializes a new instance of the RegexMatchTimeoutException class with information about the regular expression pattern, the input text, and the time-out interval.

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

public RegexMatchTimeoutException(
	string regexInput,
	string regexPattern,
	TimeSpan matchTimeout


Type: System.String

The input text processed by the regular expression engine when the time-out occurred.

Type: System.String

The pattern used by the regular expression engine when the time-out occurred.

Type: System.TimeSpan

The time-out interval.

The regexInput, regexPattern, and matchTimeout values are assigned to the Input, Pattern, and MatchTimeout properties of the new RegexMatchTimeoutException object.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top