Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ReliableSessionBindingElement::CanBuildChannelFactory<TChannel> Method (BindingContext^)

 

Returns a value that indicates whether the channel factory can be built for the channel and context provided that can support a reliable session.

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

public:
generic<typename TChannel>
virtual bool CanBuildChannelFactory(
	BindingContext^ context
) override

Parameters

context
Type: System.ServiceModel.Channels::BindingContext^

The BindingContext that contains the information required to build the factories that can produce channels of type TChannel.

Return Value

Type: System::Boolean

true if the IChannelFactory<TChannel> of type TChannel can be built; otherwise, false.

Type Parameters

TChannel

The type of channel the factory builds.

This method returns true or false for a TChannel in accordance with the table of values provided in BuildChannelFactory<TChannel>(BindingContext^).

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft