IdeaBlade.Core Assembly > IdeaBlade.Core.Wcf.Extensions Namespace > GZipMessageEncodingElement Class : MaxBytesPerRead Property |
'Declaration
<ConfigurationPropertyAttribute(Name="maxBytesPerRead", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=False, IsRequired=False, IsKey=False)> <CategoryAttribute("ReaderQuotas Properties")> <DescriptionAttribute("The maximum allowed bytes returned for each read. The default is 4096.")> <IntegerValidatorAttribute(0)> Public Property MaxBytesPerRead As Integer
'Usage
Dim instance As GZipMessageEncodingElement Dim value As Integer instance.MaxBytesPerRead = value value = instance.MaxBytesPerRead
[ConfigurationProperty(Name="maxBytesPerRead", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=false, IsRequired=false, IsKey=false)] [Category("ReaderQuotas Properties")] [Description("The maximum allowed bytes returned for each read. The default is 4096.")] [IntegerValidator(0)] public int MaxBytesPerRead {get; set;}
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