WCF-Xtensions Class Reference for Mono
CompressionThreshold Property (EnvelopeBehavior)






Gets and sets the minimal size of the payload to be compressed, if compression is enabled.
Syntax
'Declaration
 
Public Property CompressionThreshold As System.Integer
'Usage
 
Dim instance As EnvelopeBehavior
Dim value As System.Integer
 
instance.CompressionThreshold = value
 
value = instance.CompressionThreshold
public System.int CompressionThreshold {get; set;}
public read-write property CompressionThreshold: System.Integer; 
public function get,set CompressionThreshold : System.int
public: __property System.int get_CompressionThreshold();
public: __property void set_CompressionThreshold( 
   System.int value
);
public:
property System.int CompressionThreshold {
   System.int get();
   void set (    System.int value);
}
Remarks
Setting this property to the value greater than 0 breakes backward compatibility with WCF-Xtension released prior WCF-Xtensions v5.
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

EnvelopeBehavior Class
EnvelopeBehavior Members

Send Feedback