XPathMessageFilter.NodeQuota Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum number of nodes that should be looked at during filter evaluation.
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
Property Value
The maximum number of nodes that should be looked at during filter evaluation.
Exceptions
The quota is zero or negative.
Remarks
Some filters can be extremely expensive to evaluate or are very long running. Because filters operate on XML documents, the best way to set computational limits is to specify the maximum number of nodes that should be looked at during a filter evaluation.
The quota is initially set to MaxValue.