Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SslStreamSecurityBindingElement.BuildChannelListener<TChannel> Method

Creates a channel listener of a specified type.

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

public override IChannelListener<TChannel> BuildChannelListener<TChannel>(
	BindingContext context
)
where TChannel : class, IChannel

Type Parameters

TChannel

Type of channel listener.

Return Value

Type: System.ServiceModel.Channels.IChannelListener<TChannel>
An IChannelListener object that represents a channel listener of type TChannel.

ExceptionCondition
ArgumentNullException

context is null.

This method creates a channel listener, which is used to create a channel that processes incoming messages for this binding.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft