Muokkaa

Jaa


SecurityBindingElement.BuildChannelFactoryCore<TChannel> Method

Definition

When implemented, creates a channel factory of a specified type.

protected:
generic <typename TChannel>
 abstract System::ServiceModel::Channels::IChannelFactory<TChannel> ^ BuildChannelFactoryCore(System::ServiceModel::Channels::BindingContext ^ context);
protected abstract System.ServiceModel.Channels.IChannelFactory<TChannel> BuildChannelFactoryCore<TChannel> (System.ServiceModel.Channels.BindingContext context);
abstract member BuildChannelFactoryCore : System.ServiceModel.Channels.BindingContext -> System.ServiceModel.Channels.IChannelFactory<'Channel>
Protected MustOverride Function BuildChannelFactoryCore(Of TChannel) (context As BindingContext) As IChannelFactory(Of TChannel)

Type Parameters

TChannel

The type of channel factory.

Parameters

Returns

A channel factory of a specified type.

Exceptions

context is null.

A channel of type TChannel is not supported.

Remarks

BuildChannelFactory, which does error checking, calls this method. When this method is implemented in a derived class, it creates a channel factory, which is used to create a channel that processes outgoing messages for this binding.

Applies to