class RegexMatchTimeoutException

in global :: System . Text . RegularExpressions

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


public RegexMatchTimeoutException( string message )

Initializes a new instance of the class with the specified message string.

  • message A string that describes the exception.

public RegexMatchTimeoutException( string message, Exception inner )

Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.

  • message A string that describes the exception.
  • inner The exception that is the cause of the current exception.

public RegexMatchTimeoutException( string regexInput, string regexPattern, TimeSpan matchTimeout )

Initializes a new instance of the class with information about the regular expression pattern, the input text, and the time-out interval.

  • regexInput The input text processed by the regular expression engine when the time-out occurred.
  • regexPattern The pattern used by the regular expression engine when the time-out occurred.
  • matchTimeout The time-out interval.

public string Input { get; }

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

  • Returns The regular expression input text.

public TimeSpan MatchTimeout { get; }

Gets the time-out interval for a regular expression match.

  • Returns The time-out interval.

public string Pattern { get; }

Gets the regular expression pattern that was used in the matching operation when the time-out occurred.

  • Returns The regular expression pattern.

public string ToString( )

😔 No documentation found.

public RegexMatchTimeoutException( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string StackTrace { get; }

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public int HResult { get; set; }

😔 No documentation found.

public void GetObjectData( SerializationInfo info, StreamingContext context )

😔 No documentation found.

public string Source { get; set; }

😔 No documentation found.

😔 No documentation found.

public Exception InnerException { get; }

😔 No documentation found.

public Exception GetBaseException( )

😔 No documentation found.

public string Message { get; }

😔 No documentation found.

public IDictionary Data { get; }

😔 No documentation found.