TextMessageEncodingBindingElement.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 .
Возвращаемое значение
Тип IChannelFactory<TChannel>TChannel для указанного контекста.