IdeaBlade.Core Assembly > IdeaBlade.Core.Wcf.Extensions Namespace > CommunicationSettings Class : CompressionLevel Property |
'Declaration
Public Property CompressionLevel As CompressionLevel
'Usage
Dim instance As CommunicationSettings Dim value As CompressionLevel instance.CompressionLevel = value value = instance.CompressionLevel
public CompressionLevel CompressionLevel {get; set;}
The default level is "default", which is intended to provide a balance between speed and compression efficiency. Use a level of "None" to turn off compression. You may use different settings on the client and server, and modify the setting at any time. When a message is to be compressed, the current value of CommunicationSettings.Default.CompressionLevel is used to determine the compression in effect.
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