Noemax.WCFX.Configuration Namespace > ContentNegotiationElement Class : CompressionThreshold Property |
'Declaration <System.Configuration.ConfigurationPropertyAttribute(Name="compressionThreshold", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=False, IsRequired=False, IsKey=False)> Public Property CompressionThreshold As System.Integer
'Usage Dim instance As ContentNegotiationElement Dim value As System.Integer instance.CompressionThreshold = value value = instance.CompressionThreshold
[System.Configuration.ConfigurationProperty(Name="compressionThreshold", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=false, IsRequired=false, IsKey=false)] public System.int CompressionThreshold {get; set;}
public read-write property CompressionThreshold: System.Integer;
System.Configuration.ConfigurationPropertyAttribute(Name="compressionThreshold", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=, IsRequired=, IsKey=) public function get,set CompressionThreshold : System.int
[System.Configuration.ConfigurationProperty(Name="compressionThreshold", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=false, IsRequired=false, IsKey=false)] public: __property System.int get_CompressionThreshold(); public: __property void set_CompressionThreshold( System.int value );
Specifies the minimal size of the payload that channel will compress. If the size of the payload is lower than specified value, compression will not be applied to it.
The default value of this property is 0, all payload will be compressed irrespective of it's size.
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