BindingContext::CanBuildInnerChannelListener<TChannel> Method ()

 

Returns a value that indicates whether the inner channel listener can be built to listen for a specified type of channel.

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

public:
generic<typename TChannel>
where TChannel : ref class, IChannel
bool CanBuildInnerChannelListener()

Return Value

Type: System::Boolean

true if the inner channel listener can be built to listen for the TChannel specified; otherwise, false.

Type Parameters

TChannel

The type of IChannel object for which the inner channel listener listens.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: