DevForce Help Reference
MaxDepth Property


Gets or sets the ReaderQuotas.MaxDepth value.
Syntax
'Declaration
 
<ConfigurationPropertyAttribute(Name="maxDepth", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
<CategoryAttribute("ReaderQuotas Properties")>
<DescriptionAttribute("The maximum nested node depth for each read.  The default is 32.")>
<IntegerValidatorAttribute(0)>
Public Property MaxDepth As Integer
'Usage
 
Dim instance As GZipMessageEncodingElement
Dim value As Integer
 
instance.MaxDepth = value
 
value = instance.MaxDepth
[ConfigurationProperty(Name="maxDepth", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[Category("ReaderQuotas Properties")]
[Description("The maximum nested node depth for each read.  The default is 32.")]
[IntegerValidator(0)]
public int MaxDepth {get; set;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GZipMessageEncodingElement Class
GZipMessageEncodingElement Members

Send Feedback