語言

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為 的通道工廠的物件。

例外狀況

context 是 null。

備註

此方法建立通道工廠,用於建立一個通道來處理此綁定的發出訊息。

適用於