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 成员,描述创建通道工厂所需的绑定、行为、协定和其他信息。

返回

具有指定类型的通道工厂。

适用于