CompositeDuplexBindingElement.BuildChannelFactory(BindingContext) CompositeDuplexBindingElement.BuildChannelFactory(BindingContext) CompositeDuplexBindingElement.BuildChannelFactory(BindingContext) CompositeDuplexBindingElement.BuildChannelFactory(BindingContext) Method

Definition

Returns a channel factory that can create a composite duplex channel.

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 IChannel that the factory produces.

Parameters

context
BindingContext BindingContext BindingContext BindingContext

The BindingContext that provides the context required to build the channel factory.

Returns

Exceptions

The TChannel is not of type IOutputChannel and is not supported.

Remarks

The build context requires an IOutputChannel for the TChannel.

Applies to