語言

RegexMatchTimeoutException.Input 屬性

定義

取得正則表達式引擎在逾時時正在處理的輸入文字。

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

屬性值

正則表達式輸入文字。

備註

此性質反映建構子參數regexInput的值RegexMatchTimeoutException(String, String, TimeSpan)。 若此參數未在建構子呼叫中明確初始化,其值為 Empty。

當異常由正規表達式引擎拋出時,屬性的 Input 值會反映整個傳入正則表達式引擎的輸入字串。 它不會反映部分字串,例如引擎在呼叫 Match(String, Int32)方法時搜尋的子字串。

適用於