WCF-Xtensions Class Reference for Mono
TransportCompression Property (SoapTcpTransportElement)






Specifies the whether the transport level compression should be applied and the type of compression to be used.
Syntax
[System.Configuration.ConfigurationProperty(Name="transportCompression", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public TransportCompression TransportCompression {get; set;}
public read-write property TransportCompression: TransportCompression; 
System.Configuration.ConfigurationPropertyAttribute(Name="transportCompression", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=, 
   IsRequired=, 
   IsKey=)
public function get,set TransportCompression : TransportCompression
[System.Configuration.ConfigurationProperty(Name="transportCompression", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public: __property TransportCompression get_TransportCompression();
public: __property void set_TransportCompression( 
   TransportCompression value
);
[System.Configuration.ConfigurationProperty(Name="transportCompression", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property TransportCompression TransportCompression {
   TransportCompression get();
   void set (    TransportCompression value);
}
'Declaration
 
<System.Configuration.ConfigurationPropertyAttribute(Name="transportCompression", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Public Property TransportCompression As TransportCompression
 
'Usage
 
Dim instance As SoapTcpTransportElement
Dim value As TransportCompression
 
instance.TransportCompression = value
 
value = instance.TransportCompression
Remarks
Currently only LZF3 and DEFLATE compression algorithms aresuitable for "statefull transport stream compression.
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

SoapTcpTransportElement Class
SoapTcpTransportElement Members

Send Feedback