DevForce Help Reference
BuildChannelListener<TChannel> Method


The type of channel the listener is built to accept.
The System.ServiceModel.Channels.BindingContext that provides context for the binding element.
Initializes a channel listener to accept channels of a specified type from the binding context.
Syntax
'Declaration
 
Public Overrides NotOverridable Function BuildChannelListener(Of TChannel As {Class, IChannel})( _
   ByVal context As BindingContext _
) As IChannelListener(Of TChannel)
'Usage
 
Dim 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

Parameters

context
The System.ServiceModel.Channels.BindingContext that provides context for the binding element.

Type Parameters

TChannel
The type of channel the listener is built to accept.

Return Value

Exceptions
ExceptionDescription
System.ArgumentNullExceptioncontext is null.
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

GZipMessageEncodingBindingElement Class
GZipMessageEncodingBindingElement Members

Send Feedback