Export (0) Print
Expand All

XPathMessageFilter.NodeQuota Property

Gets or sets the maximum number of nodes that should be looked at during filter evaluation.

Namespace: System.ServiceModel.Dispatcher
Assembly: System.ServiceModel (in system.servicemodel.dll)

public int NodeQuota { get; set; }
/** @property */
public int get_NodeQuota ()

/** @property */
public void set_NodeQuota (int value)

public function get NodeQuota () : int

public function set NodeQuota (value : int)

Not applicable.

Property Value

The maximum number of nodes that should be looked at during filter evaluation.

Exception typeCondition

ArgumentOutOfRangeException

The quota is zero or negative.

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft