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



Gets or sets the ReaderQuotas.MaxBytesPerRead value.

Syntax

Visual Basic (Declaration) 
<IntegerValidatorAttribute(0)>
<CategoryAttribute("ReaderQuotas Properties")>
<DescriptionAttribute("The maximum allowed bytes returned for each read.  The default is 4096.")>
<ConfigurationPropertyAttribute(Name="maxBytesPerRead", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Public Property MaxBytesPerRead As Integer
Visual Basic (Usage)Copy Code
Dim instance As GZipMessageEncodingElement
Dim value As Integer
 
instance.MaxBytesPerRead = value
 
value = instance.MaxBytesPerRead
C# 
[IntegerValidatorAttribute(0)]
[CategoryAttribute("ReaderQuotas Properties")]
[DescriptionAttribute("The maximum allowed bytes returned for each read.  The default is 4096.")]
[ConfigurationPropertyAttribute(Name="maxBytesPerRead", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public int MaxBytesPerRead {get; set;}
C++/CLI 
[IntegerValidatorAttribute(0)]
[CategoryAttribute("ReaderQuotas Properties")]
[DescriptionAttribute("The maximum allowed bytes returned for each read.  The default is 4096.")]
[ConfigurationPropertyAttribute(Name="maxBytesPerRead", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property int MaxBytesPerRead {
   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.