Noemax.WCFX.Channels Namespace : SmartCompressionMode Enumeration |
'Declaration Public Enum SmartCompressionMode Inherits System.Enum
'Usage Dim instance As SmartCompressionMode
public enum SmartCompressionMode : System.Enum
public enum SmartCompressionMode = class(System.Enum)
public enum SmartCompressionMode extends System.Enum
__value public enum SmartCompressionMode : public System.Enum
public enum class SmartCompressionMode : public System.Enum
Member | Description |
---|---|
Adaptive | The channel should not use compression unless the remote side indicates that it supports compression. Once compression is enabled all outgoing messages are compressed. The channel will decompress incoming compressed messages. |
None | The channel will not use compression. The channel will refuse incoming compressed messages. |
Optimistic | The channel should always compress and decompress messages. |
Pessimistic | The channel should use compression only to reply to compressed requests or to requests which indicate that compression is supported. The channel will decompress incoming compressed messages. |
Selective | The channel should use compression only for methods marked with the EnableCompression attribute and only when the remote side has indicated that it supports compression. The channel will decompress incoming compressed messages. |
Decompression of compressed incoming messages is supported in all modes except of None which indicates that compression and decompression are prohibited.
System.Object
System.ValueType
System.Enum
Noemax.WCFX.Channels.SmartCompressionMode
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