Export (0) Print
Expand All

RegexMatchTimeoutException Constructor (String, String, TimeSpan)

.NET Framework 4.5

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
)

Parameters

regexInput
Type: System::String

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

regexPattern
Type: System::String

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

matchTimeout
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.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft