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

RegexMatchTimeoutException Constructor (String, String, TimeSpan)

.NET Framework 4.6 and 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
Assemblies:   System (in System.dll)
  System.Text.RegularExpressions (in System.Text.RegularExpressions.dll)

new : 
        regexInput:string * 
        regexPattern:string * 
        matchTimeout:TimeSpan -> RegexMatchTimeoutException


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.

.NET Framework

Supported in: 4.6, 4.5

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
© 2015 Microsoft