RegexMatchTimeoutException.Input Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the input text that the regular expression engine was processing when the time-out occurred.
public:
property System::String ^ Input { System::String ^ get(); };
public string Input { get; }
member this.Input : string
Public ReadOnly Property Input As String
Property Value
The regular expression input text.
Remarks
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).