Edit

Share via


ByteStreamMessageEncodingBindingElement.BuildChannelFactory<TChannel> Method

Definition

Builds the channel factory stack on the client that creates a specified type of channel for a specified context.

public:
generic <typename TChannel>
 override System::ServiceModel::Channels::IChannelFactory<TChannel> ^ BuildChannelFactory(System::ServiceModel::Channels::BindingContext ^ context);
public override System.ServiceModel.Channels.IChannelFactory<TChannel> BuildChannelFactory<TChannel> (System.ServiceModel.Channels.BindingContext context);
override this.BuildChannelFactory : System.ServiceModel.Channels.BindingContext -> System.ServiceModel.Channels.IChannelFactory<'Channel>
Public Overrides Function BuildChannelFactory(Of TChannel) (context As BindingContext) As IChannelFactory(Of TChannel)

Type Parameters

TChannel

The type of channel the channel factory produces.

Parameters

context
BindingContext

The binding context for the channel.

Returns

A channel factory of type TChannel for the specified context.

Applies to