Regex.MatchTimeout Property in .NET Framework 4.5

This method is used to gets the time-out interval of the current instance.
  • 2237
Introduction

This method is used to gets the time-out interval of the current instance.The MatchTimeout property defines the approximate maximum time interval for a Regex instance to execute a single matching operation before the operation times out
.

Namespace & Assembly 

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

Syntax of Regex.MatchTimeout Property in C# 

public TimeSpan MatchTimeout { get; }
Property Value
Type: System.TimeSpan

Version Information supported by Regex.MatchTimeout Property

Regex.MatchTimeout Property supported in .NET Framework 4.5.

Platforms
  • Windows 8 Consumer Preview
  • Windows Server 8 Beta, Windows 7
  • Windows Server 2008 SP2
  • Windows Server 2008 R2 
© 2019 DotNetHeaven. All rights reserved.