BindingContext.CanBuildInnerChannelFactory<TChannel> Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Function CanBuildInnerChannelFactory(Of TChannel) As Boolean
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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.