The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CompositeDuplexBindingElement::BuildChannelFactory<TChannel> Method (BindingContext^)
.NET Framework (current version)
Returns a channel factory that can create a composite duplex channel.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: generic<typename TChannel> virtual IChannelFactory<TChannel>^ BuildChannelFactory( BindingContext^ context ) override
Parameters
- context
-
Type:
System.ServiceModel.Channels::BindingContext^
The BindingContext that provides the context required to build the channel factory.
Return Value
Type: System.ServiceModel.Channels::IChannelFactory<TChannel>^A IChannelFactory<TChannel> that creates a composite duplex channel of type TChannel.
Type Parameters
- TChannel
The IChannel that the factory produces.
| Exception | Condition |
|---|---|
| ArgumentNullException | context is null. |
| ArgumentException | The TChannel is not of type IOutputChannel and is not supported. |
The build context requires an IOutputChannel for the TChannel.
.NET Framework
Available since 3.0
Available since 3.0
Show: