IdeaBlade DevForce 2010 Help Reference
MaxArrayLength Property
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.Wcf.Extensions Namespace > GZipMessageEncodingElement Class : MaxArrayLength Property



Gets or sets the ReaderQuotas.MaxArrayLength value.

Syntax

Visual Basic (Declaration) 
<ConfigurationPropertyAttribute(Name="maxArrayLength", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
<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)>
<CategoryAttribute("ReaderQuotas Properties")>
Public Property MaxArrayLength As Integer
Visual Basic (Usage)Copy Code
Dim instance As GZipMessageEncodingElement
Dim value As Integer
 
instance.MaxArrayLength = value
 
value = instance.MaxArrayLength
C# 
[ConfigurationPropertyAttribute(Name="maxArrayLength", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[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)]
[CategoryAttribute("ReaderQuotas Properties")]
public int MaxArrayLength {get; set;}
C++/CLI 
[ConfigurationPropertyAttribute(Name="maxArrayLength", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[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)]
[CategoryAttribute("ReaderQuotas Properties")]
public:
property int MaxArrayLength {
   int get();
   void set (    int value);
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.