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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기