Export (0) Print
Expand All

RegexMatchTimeoutException::Input Property

.NET Framework 4.5

Gets the input text that the regular expression engine was processing when the time-out occurred.

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

public:
property String^ Input {
	String^ get ();
}

Property Value

Type: System::String
The regular expression input text.

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

When the exception is thrown by the regular expression engine, the value of the Input property reflects the entire input string passed to the regular expression engine. It does not reflect a partial string, such as the substring that the engine searches in the call to a method such as Regex::Match(String, Int32).

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5

.NET for Windows Store apps

Supported in: Windows 8

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone 8, Silverlight 8.1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft