XPathMessageFilter.NodeQuota 屬性

定義

取得或設定應在篩選評估期間查看的節點數目上限。

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

適用於