RegexMatchTimeoutException.Input 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得正則表達式引擎在逾時時正在處理的輸入文字。
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)方法時搜尋的子字串。