DotNetCompression Class Reference for Windows Phone
BuildChannelFactory<TChannel> Method (FiMessageEncodingBindingElement)






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
'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 FiMessageEncodingBindingElement
Dim context As System.ServiceModel.Channels.BindingContext
Dim value As System.ServiceModel.Channels.IChannelFactory(Of TChannel)
 
value = instance.BuildChannelFactory(Of TChannel)(context)
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 

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

FiMessageEncodingBindingElement Class
FiMessageEncodingBindingElement Members
Base Implementation in BuildChannelFactory<TChannel>

Send Feedback