CanBuildChannelFactory(TChannel) Method

SecurityBindingElement.CanBuildChannelFactory(Of TChannel) Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a value that indicates whether a channel factory of the specified type can be built.

Namespace:  System.ServiceModel.Channels
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 factory.

Parameters

context
Type: System.ServiceModel.Channels.BindingContext
The BindingContext for the channel factory.

Return Value

Type: System.Boolean
true if a channel factory of type TChannel can be built; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft