Noemax.WCFX.Configuration Namespace > SoapTcpTransportElement Class : MaxBufferPoolSize Property |
'Declaration <System.Configuration.ConfigurationPropertyAttribute(Name="maxBufferPoolSize", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=False, IsRequired=False, IsKey=False)> Public Property MaxBufferPoolSize As System.Long
'Usage Dim instance As SoapTcpTransportElement Dim value As System.Long instance.MaxBufferPoolSize = value value = instance.MaxBufferPoolSize
[System.Configuration.ConfigurationProperty(Name="maxBufferPoolSize", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=false, IsRequired=false, IsKey=false)] public System.long MaxBufferPoolSize {get; set;}
public read-write property MaxBufferPoolSize: System.Int64;
System.Configuration.ConfigurationPropertyAttribute(Name="maxBufferPoolSize", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=, IsRequired=, IsKey=) public function get,set MaxBufferPoolSize : System.long
Many parts of WCF use buffers. Creating and destroying buffers each time they are used is expensive, and garbage collection for buffers is also expensive. With buffer pools, you can take a buffer from the pool, use it, and return it to the pool once you are done. Thus the overhead in creating and destroying buffers is avoided.
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