RegexMatchTimeoutException Constructor (String^, String^, TimeSpan)
Initializes a new instance of the RegexMatchTimeoutException class with information about the regular expression pattern, the input text, and the time-out interval.
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.
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