System.Text.RegularExpressions.RegexMatchTimeoutException Class

The exception that is thrown when the execution time of a regular expression pattern-matching method exceeds its time-out interval.

See Also: RegexMatchTimeoutException Members


public class RegexMatchTimeoutException : TimeoutException


The presence of a System.Text.RegularExpressions.RegexMatchTimeoutException exception generally indicates one of the following conditions:

The way in which an exception handler handles an exception depends on the cause of the exception:

The example in the next section illustrates both techniques for handling a System.Text.RegularExpressions.RegexMatchTimeoutException.


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