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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för