WCF-Xtensions Class Reference for .NET
MaxBufferSize Property (SmartHttpBindingElement)






Gets and sets the maximum message size limit for messages being received the remote side.
Syntax
[System.Configuration.ConfigurationProperty(Name="maxReceivedMessageSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[System.Configuration.IntegerValidator(1)]
public System.int MaxBufferSize {get; set;}
public read-write property MaxBufferSize: System.Integer; 
System.Configuration.ConfigurationPropertyAttribute(Name="maxReceivedMessageSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=, 
   IsRequired=, 
   IsKey=)
System.Configuration.IntegerValidatorAttribute(1)
public function get,set MaxBufferSize : System.int
[System.Configuration.ConfigurationProperty(Name="maxReceivedMessageSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[System.Configuration.IntegerValidator(1)]
public: __property System.int get_MaxBufferSize();
public: __property void set_MaxBufferSize( 
   System.int value
);
[System.Configuration.ConfigurationProperty(Name="maxReceivedMessageSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
[System.Configuration.IntegerValidator(1)]
public:
property System.int MaxBufferSize {
   System.int get();
   void set (    System.int value);
}
'Declaration
 
<System.Configuration.ConfigurationPropertyAttribute(Name="maxReceivedMessageSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
<System.Configuration.IntegerValidatorAttribute(1)>
Public Property MaxBufferSize As System.Integer
 
'Usage
 
Dim instance As SmartHttpBindingElement
Dim value As System.Integer
 
instance.MaxBufferSize = value
 
value = instance.MaxBufferSize
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

SmartHttpBindingElement Class
SmartHttpBindingElement Members

Send Feedback