HttpTransportBindingElement.CanBuildChannelFactory(Of TChannel) Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether a channel factory of the specified type can be built.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Overrides Function CanBuildChannelFactory(Of TChannel) ( _ context As BindingContext _ ) As Boolean
Type Parameters
- TChannel
The type of channel to check.
Parameters
- context
- Type: System.ServiceModel.Channels.BindingContext
The BindingContextfor the channel to be built.
| Exception | Condition |
|---|---|
| ArgumentNullException | context is Nothing. |
Show: