Input Property
Collapse the table of content
Expand the table of content

RegexMatchTimeoutException::Input Property

.NET Framework (current version)

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)

property String^ Input {
	[PermissionSetAttribute(SecurityAction::LinkDemand, Unrestricted = true)]
	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).

Universal Windows Platform
Available since 4.5
.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
Return to top
© 2016 Microsoft