SslStreamSecurityBindingElement.BuildChannelFactory<TChannel> Method (BindingContext)

 

Creates a channel factory of a specified type.

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

public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(
	BindingContext context
)

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
Return to top
Show: