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






Gets or sets the maximum size for a buffer that receives messages from the channel.
Syntax
[System.Configuration.ConfigurationProperty(Name="maxBufferSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public System.int MaxBufferSize {get; set;}
public read-write property MaxBufferSize: System.Integer; 
System.Configuration.ConfigurationPropertyAttribute(Name="maxBufferSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=, 
   IsRequired=, 
   IsKey=)
public function get,set MaxBufferSize : System.int
[System.Configuration.ConfigurationProperty(Name="maxBufferSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public: __property System.int get_MaxBufferSize();
public: __property void set_MaxBufferSize( 
   System.int value
);
[System.Configuration.ConfigurationProperty(Name="maxBufferSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property System.int MaxBufferSize {
   System.int get();
   void set (    System.int value);
}
'Declaration
 
<System.Configuration.ConfigurationPropertyAttribute(Name="maxBufferSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Public Property MaxBufferSize As System.Integer
 
'Usage
 
Dim instance As SoapTcpTransportElement
Dim value As System.Integer
 
instance.MaxBufferSize = value
 
value = instance.MaxBufferSize

Property Value

true if the user can address every message individually; false if the default WCF addressing mechanism automatically creates addresses for all messages. The default is false. The maximum size, in bytes, of a buffer that stores messages while they are processed for an endpoint configured with this binding. The default value is 65,536 bytes.
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

SoapTcpTransportElement Class
SoapTcpTransportElement Members

Send Feedback