XPathMessageFilterTable<TFilterData>.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 XML document nodes that can be examined by the individual filters during a single call to a Match
method. This value applies for each filter.
public:
property int NodeQuota { int get(); void set(int value); };
[System.Runtime.Serialization.DataMember]
public int NodeQuota { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.NodeQuota : int with get, set
Public Property NodeQuota As Integer
Property Value
The number of nodes that can be examined.
- Attributes
Remarks
This property can be used to alleviate a security threat. Some filters can be extremely expensive to evaluate or are very long-running. XPathMessageFilters are most often evaluated against a document from an untrusted source (SOAP message off the wire), which may be malicious. Because filters operate on XML documents, the best way to set computational limits on filter tables is to specify the maximum number of nodes that are examined while evaluating a filter in this table.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈