SslStreamSecurityBindingElement.BuildChannelFactory<TChannel> 方法

定義

建立指定型別的通道處理站。

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)

類型參數

TChannel

通道處理站的類型。

參數

傳回

IChannelFactory<TChannel>

IChannelFactory 物件,表示類型 TChannel 的通道處理站。

例外狀況

contextnull

備註

這個方法會建立通道處理站,可用來建立處理此繫結之傳出訊息的通道。

適用於