CanBuildInnerChannelFactory(TChannel) Method
Collapse the table of content
Expand the table of content

BindingContext.CanBuildInnerChannelFactory<TChannel> Method

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

Returns a value that indicates whether the inner channel factory can produce a specified type of channel.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public bool CanBuildInnerChannelFactory<TChannel>()

Type Parameters

TChannel

The type of IChannel object the inner channel factory produces.

Return Value

Type: System.Boolean
true if the inner channel factory can produce the specified TChannel; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft