WCF-Xtensions Class Reference for Mono
MaxBufferPoolSize Property (SmartHttpBindingElement)






Gets or sets the maximum size for a buffer pool that stores messages processed by the binding.
Syntax
'Declaration
 
<System.Configuration.LongValidatorAttribute(0)>
<System.Configuration.ConfigurationPropertyAttribute(Name="maxBufferPoolSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Public Property MaxBufferPoolSize As System.Long
'Usage
 
Dim instance As SmartHttpBindingElement
Dim value As System.Long
 
instance.MaxBufferPoolSize = value
 
value = instance.MaxBufferPoolSize
[System.Configuration.LongValidator(0)]
[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.LongValidatorAttribute(0)
System.Configuration.ConfigurationPropertyAttribute(Name="maxBufferPoolSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=, 
   IsRequired=, 
   IsKey=)
public function get,set MaxBufferPoolSize : System.long
[System.Configuration.LongValidator(0)]
[System.Configuration.ConfigurationProperty(Name="maxBufferPoolSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public: __property System.long get_MaxBufferPoolSize();
public: __property void set_MaxBufferPoolSize( 
   System.long value
);
[System.Configuration.LongValidator(0)]
[System.Configuration.ConfigurationProperty(Name="maxBufferPoolSize", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property System.int64 MaxBufferPoolSize {
   System.int64 get();
   void set (    System.int64 value);
}

Property Value

An Int64 value that specifies the maximum size (in bytes) for a buffer pool that is processed by the 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

SmartHttpBindingElement Class
SmartHttpBindingElement Members

Send Feedback