語言

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

渠道工廠的類型。

參數

傳回

一個特定類型的通道工廠。

例外狀況

context 是 null。

不支援 類型的 TChannel 通道。

備註

BuildChannelFactory,執行錯誤檢查,呼叫此方法。 當此方法實作於衍生類別時,會建立通道工廠,用以建立處理此綁定的輸出訊息通道。

適用於