WCF-Xtensions Class Reference for .NET
BuildChannelFactory<TChannel> Method (LiteHttpTransportBindingElement)






Type of channel factory.
BindingContext members that describe bindings, behaviors, contracts and other information required to create the channel factory.
Creates a channel factory that can be used to create a channel.
Syntax
public override System.ServiceModel.Channels.IChannelFactory<TChannel> BuildChannelFactory<TChannel>( 
   System.ServiceModel.Channels.BindingContext context
)
public function BuildChannelFactory( 
    context: System.ServiceModel.Channels.BindingContext
): System.ServiceModel.Channels.IChannelFactory; override; 
public override function BuildChannelFactory( 
   context : System.ServiceModel.Channels.BindingContext
) : System.ServiceModel.Channels.IChannelFactory;
public: System.ServiceModel.Channels.IChannelFactory<TChannel*>* BuildChannelFactory<TChannel>( 
   System.ServiceModel.Channels.BindingContext* context
) override 
public:
System.ServiceModel.Channels.IChannelFactory<TChannel^>^ BuildChannelFactorygeneric<typename TChannel>
( 
   System.ServiceModel.Channels.BindingContext^ context
) override 
'Declaration
 
Public Overrides Function BuildChannelFactory(Of TChannel)( _
   ByVal context As System.ServiceModel.Channels.BindingContext _
) As System.ServiceModel.Channels.IChannelFactory(Of TChannel)
 
'Usage
 
Dim instance As LiteHttpTransportBindingElement
Dim context As System.ServiceModel.Channels.BindingContext
Dim value As System.ServiceModel.Channels.IChannelFactory(Of TChannel)
 
value = instance.BuildChannelFactory(Of TChannel)(context)

Parameters

context
BindingContext members that describe bindings, behaviors, contracts and other information required to create the channel factory.

Type Parameters

TChannel
Type of channel factory.

Return Value

A channel factory of the specified type.
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 BuildChannelFactory<TChannel>

Send Feedback