Export (0) Print
Expand All

RegexMatchTimeoutException.Pattern Property

.NET Framework 4.6 and 4.5

Gets the regular expression pattern that was used in the matching operation when the time-out occurred.

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

public string Pattern { get; }

Property Value

Type: System.String
The regular expression pattern.

This property reflects the value of the regexPattern parameter of the RegexMatchTimeoutException(String, String, TimeSpan) constructor. If the parameter is not properly initialized in a constructor call, its value is String.Empty.

.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