語言

HttpCookieContainerBindingElement.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

渠道工廠的類型。

參數

context
BindingContext

BindingContext 成員描述綁定、行為、合約及其他創建通道工廠所需的資訊。

傳回

指定類型的通道工廠。

適用於