HttpsTransportBindingElement.BuildChannelFactory(Of TChannel) Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a channel factory of a specified type that can be used to create a channel.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Overrides Function BuildChannelFactory(Of TChannel) ( _ context As BindingContext _ ) As IChannelFactory(Of TChannel)
Type Parameters
- TChannel
Type of channel.
Parameters
- context
- Type: System.ServiceModel.Channels.BindingContext
BindingContext members that describe bindings, behaviors, contracts and other information required to create the channel factory.
Return Value
Type: System.ServiceModel.Channels.IChannelFactory(Of TChannel)A channel factory of the specified type that is configured based on the values set in the transport binding element.
| Exception | Condition |
|---|---|
| ArgumentNullException | context cannot be Nothing. |
Show: