SecurityBindingElement.BuildChannelFactoryCore<TChannel> 方法

定义

实现后,创建指定类型的通道工厂。

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)

类型参数

TChannel

通道工厂的类型。

参数

返回

指定类型的通道工厂。

例外

contextnull

不支持类型 TChannel 通道。

注解

BuildChannelFactory(执行错误检查)调用此方法。 此方法在派生类中实现时,会创建通道工厂,该工厂用于创建处理此绑定传出消息的通道。

适用于