XPathMessageFilter.NodeQuota 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定在篩選器評估時應檢視的最大節點數量。
public:
property int NodeQuota { int get(); void set(int value); };
public int NodeQuota { get; set; }
member this.NodeQuota : int with get, set
Public Property NodeQuota As Integer
屬性值
篩選器評估時應檢視的最大節點數。
例外狀況
配額為零或負數。
備註
有些過濾器評估費用非常高,或使用時間很長。 由於過濾器是操作於 XML 文件上的,設定計算限制的最佳方式是指定在篩選器評估中應檢視的最大節點數量。
配額最初設定為 MaxValue。