WCF-Xtensions Class Reference for .NET
CompressionThreshold Property (CompressionElement)






Gets and sets the minimal size of the message to be compressed.
Syntax
[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
);
[System.Configuration.ConfigurationProperty(Name="compressionThreshold", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property System.int CompressionThreshold {
   System.int get();
   void set (    System.int value);
}
'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 CompressionElement
Dim value As System.Integer
 
instance.CompressionThreshold = value
 
value = instance.CompressionThreshold
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

CompressionElement Class
CompressionElement Members

Send Feedback