| IdeaBlade.Core Assembly > IdeaBlade.Core.Wcf.Extensions Namespace > GZipMessageEncodingBindingElement Class : BuildChannelListener<TChannel> Method |
'DeclarationPublic Overrides NotOverridable Function BuildChannelListener(Of TChannel As {Class, IChannel})( _ ByVal context As BindingContext _ ) As IChannelListener(Of TChannel)
'UsageDim instance As GZipMessageEncodingBindingElement Dim context As BindingContext Dim value As IChannelListener(Of TChannel) value = instance.BuildChannelListener(Of TChannel)(context)
public override IChannelListener<TChannel> BuildChannelListener<TChannel>( BindingContext context ) where TChannel: class, IChannel
| Exception | Description |
|---|---|
| System.ArgumentNullException | context is null. |
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