WCF-Xtensions Class Reference for Mono
CanBuildChannelListener<TChannel> Method (LiteHttpTransportBindingElement)






Type of channel listener.
Type of channel listener.
Determines whether a channel listener of the specified type can be built.
Syntax
'Declaration
 
Public Overrides Function CanBuildChannelListener(Of TChannel As {Class, System.ServiceModel.Channels.IChannel})( _
   ByVal context As System.ServiceModel.Channels.BindingContext _
) As System.Boolean
'Usage
 
Dim instance As LiteHttpTransportBindingElement
Dim context As System.ServiceModel.Channels.BindingContext
Dim value As System.Boolean
 
value = instance.CanBuildChannelListener(Of TChannel)(context)
public override System.bool CanBuildChannelListener<TChannel>( 
   System.ServiceModel.Channels.BindingContext context
)
where TChannel: class, System.ServiceModel.Channels.IChannel
public function CanBuildChannelListener( 
    context: System.ServiceModel.Channels.BindingContext
): System.Boolean; override; 
public override function CanBuildChannelListener( 
   context : System.ServiceModel.Channels.BindingContext
) : System.boolean;
public: System.bool CanBuildChannelListener<TChannel>( 
   System.ServiceModel.Channels.BindingContext* context
) override 
where TChannel: ref class, System.ServiceModel.Channels.IChannel
public:
System.bool CanBuildChannelListenergeneric<typename TChannel>
( 
   System.ServiceModel.Channels.BindingContext^ context
) override 
where TChannel: ref class, System.ServiceModel.Channels.IChannel

Parameters

context
Type of channel listener.

Type Parameters

TChannel
Type of channel listener.

Return Value

true if a channel listener can be built; otherwise false.
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

LiteHttpTransportBindingElement Class
LiteHttpTransportBindingElement Members
Base Implementation in CanBuildChannelListener<TChannel>

Send Feedback