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

Définition

Retourne une fabrique de canal qui peut créer un canal duplex composite.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)

Paramètres de type

TChannel

IChannel produit par la fabrique.The IChannel that the factory produces.

Paramètres

context
BindingContext BindingContext BindingContext BindingContext

BindingContext qui fournit le contexte requis pour générer la fabrication de canal.The BindingContext that provides the context required to build the channel factory.

Retours

IChannelFactory<TChannel> qui crée un canal duplex composite de type TChannel.A IChannelFactory<TChannel> that creates a composite duplex channel of type TChannel.

Exceptions

TChannel n'est pas de type IOutputChannel et n'est pas pris en charge.The TChannel is not of type IOutputChannel and is not supported.

Remarques

Le contexte de génération requiert un IOutputChannel pour TChannel.The build context requires an IOutputChannel for the TChannel.

S’applique à