TextMessageEncodingBindingElement.BuildChannelFactory<TChannel> Methode

Definitie

Hiermee wordt de stack van de kanaalfactory gebouwd op de client waarmee een opgegeven type kanaal voor een opgegeven context wordt gemaakt.

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

Het type kanaal dat de kanaalfactory produceert.

Parameters

context
BindingContext

De BindingContext voor het kanaal.

Retouren

Een IChannelFactory<TChannel> type TChannel voor de opgegeven context.

Van toepassing op