TextMessageEncodingBindingElement.BuildChannelFactory<TChannel> Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Builds the channel factory stack on the client that creates a specified type of channel for a specified context.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>( BindingContext context )
Type Parameters
- TChannel
The type of channel the channel factory produces.
Parameters
- context
- Type: System.ServiceModel.Channels.BindingContext
The BindingContext for the channel.
Return Value
Type: System.ServiceModel.Channels.IChannelFactory<TChannel>An IChannelFactory<TChannel> of type TChannel for the specified context.
Show: