共用方式為


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

繫結內容。

傳回

從繫結內容初始化之指定型別的通道處理站。

適用於