SslStreamSecurityBindingElement::BuildChannelFactory<TChannel> Method (BindingContext^)
.NET Framework (current version)
Creates a channel factory of a specified type.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: generic<typename TChannel> virtual IChannelFactory<TChannel>^ BuildChannelFactory( BindingContext^ context ) override
Parameters
- context
-
Type:
System.ServiceModel.Channels::BindingContext^
The BindingContext.
Return Value
Type: System.ServiceModel.Channels::IChannelFactory<TChannel>^An IChannelFactory object that represents the channel factory of type TChannel.
Type Parameters
- TChannel
Type of channel factory.
| Exception | Condition |
|---|---|
| ArgumentNullException | context is null. |
This method creates a channel factory, which is used to create a channel that processes outgoing messages for this binding.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show: