XmlDictionaryReaderQuotasElement.MaxDepth Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets and sets the maximum nested node depth for each read.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("maxDepth", DefaultValue = 0)]
[IntegerValidatorAttribute(MinValue = 0)]
public int MaxDepth { get; set; }

Property Value

Type: System.Int32

The maximum nested node depth for each read.

.NET Framework
Available since 3.0
Return to top
Show: