共用方式為


UdpTransportBindingElement.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,其提供繫結項目的內容。

傳回

從內容初始化之 TChannel 型別的 IChannelFactory<TChannel>

適用於