RegexMatchTimeoutException Constructor (String, String, TimeSpan)

RegexMatchTimeoutException Constructor (String, String, TimeSpan)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

'Declaration
Public Sub New ( _
	regexInput As String, _
	regexPattern As String, _
	matchTimeout As TimeSpan _
)

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft