Hi friends
I want to know about what is Regex.MatchTimeout Property in C#.
Thank you.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted May 9, 2012, 12:57 AM
The MatchTimeout property defines the approximate maximum time interval for a Regex instance to execute a single matching operation before the operation times out. The regular expression engine throws a RegexMatchTimeoutException exception during its next timing check after the time-out interval has elapsed.
This property is read-only. You can set its value explicitly for an individual Regex object by calling the Regex.Regex(String, RegexOptions, TimeSpan) constructor.
Please refer.
http://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regexcompilationinfo.matchtimeout%28v=vs.110%29.aspx
hope this help.