CommentRegex Constructors

Definition

Initializes a new instance of the CommentRegex class.

Overloads

CommentRegex()

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the CommentRegex class.

CommentRegex(TimeSpan)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the CommentRegex class with the specified time-out value.

CommentRegex()

Initializes a new instance of the CommentRegex class.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 CommentRegex();
public CommentRegex ();
Public Sub New ()

Remarks

This constructor instantiates a compiled regular expression whose predefined regular expression pattern is \G<%--(([^-]*)-)*?-%>.

Applies to

CommentRegex(TimeSpan)

Initializes a new instance of the CommentRegex class with the specified time-out value.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 CommentRegex(TimeSpan A_1);
public CommentRegex (TimeSpan A_1);
new System.Web.RegularExpressions.CommentRegex : TimeSpan -> System.Web.RegularExpressions.CommentRegex
Public Sub New (A_1 As TimeSpan)

Parameters

A_1
TimeSpan

A time-out interval, or InfiniteMatchTimeout if matching operations should not time out.

Remarks

The A_1 parameter represents the maximum time interval during which the regular expression engine tries to find a match before the operation times out and a RegexMatchTimeoutException exception is thrown.

Applies to