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






The type of channel the channel factory produces.
The BindingContext for the channel.
Builds the channel factory stack on the client that creates a specified type of channel for a specified context.
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 SoapTcpTransportBindingElement
Dim context As System.ServiceModel.Channels.BindingContext
Dim value As System.ServiceModel.Channels.IChannelFactory(Of TChannel)
 
value = instance.BuildChannelFactory(Of TChannel)(context)

Parameters

context
The BindingContext for the channel.

Type Parameters

TChannel
The type of channel the channel factory produces.

Return Value

An IChannelFactory of type TChannel for the specified context.
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

SoapTcpTransportBindingElement Class
SoapTcpTransportBindingElement Members
Base Implementation in BuildChannelFactory<TChannel>

Send Feedback