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.
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::Booleantrue 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^).
Available since 3.0