DevForce Help Reference
MaxArrayLength Property


Gets or sets the ReaderQuotas.MaxArrayLength value.
Syntax
'Declaration
 
<ConfigurationPropertyAttribute(Name="maxArrayLength", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
<CategoryAttribute("ReaderQuotas Properties")>
<DescriptionAttribute("Defines the largest array a message can contain.  If a message exceeds this limit, an exception is thrown.  The default is 16384.")>
<IntegerValidatorAttribute(0)>
Public Property MaxArrayLength As Integer
'Usage
 
Dim instance As GZipMessageEncodingElement
Dim value As Integer
 
instance.MaxArrayLength = value
 
value = instance.MaxArrayLength
[ConfigurationProperty(Name="maxArrayLength", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[Category("ReaderQuotas Properties")]
[Description("Defines the largest array a message can contain.  If a message exceeds this limit, an exception is thrown.  The default is 16384.")]
[IntegerValidator(0)]
public int MaxArrayLength {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