RegexMatchTimeoutException.Pattern Property

Definition

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

public:
 property System::String ^ Pattern { System::String ^ get(); };
public string Pattern { get; }
member this.Pattern : string
Public ReadOnly Property Pattern As String

Property Value

The regular expression pattern.

Remarks

This property reflects the value of the regexPattern parameter of the RegexMatchTimeoutException(String, String, TimeSpan) constructor. If the parameter is not properly initialized in a constructor call, its value is String.Empty.

Applies to