Regex.ValidateMatchTimeout(TimeSpan) 方法

定義

檢查逾時間隔是否在可接受的範圍內。

protected public:
 static void ValidateMatchTimeout(TimeSpan matchTimeout);
protected internal static void ValidateMatchTimeout (TimeSpan matchTimeout);
static member ValidateMatchTimeout : TimeSpan -> unit
Protected Friend Shared Sub ValidateMatchTimeout (matchTimeout As TimeSpan)

參數

matchTimeout
TimeSpan

要檢查的逾時間隔。

例外狀況

指定的逾時不在有效範圍內。

適用於