SecurityBindingElement.BuildChannelFactoryCore<TChannel> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
实现后,创建指定类型的通道工厂。
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
通道工厂的类型。
参数
- context
- BindingContext
返回
指定类型的通道工厂。
例外
context 是 null。
不支持类型 TChannel 通道。
注解
BuildChannelFactory(执行错误检查)调用此方法。 此方法在派生类中实现时,会创建通道工厂,该工厂用于创建处理此绑定传出消息的通道。