Breyta

Deila með


XPathMessageFilter.NodeQuota Property

Definition

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.

Applies to