Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CanBuildChannelListener(TChannel) Method

PeerCustomResolverBindingElement.CanBuildChannelListener<TChannel> Method

Determines whether a channel listener of the specified type can be built.

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

public override bool CanBuildChannelListener<TChannel>(
	BindingContext context
)
where TChannel : class, IChannel

Type Parameters

TChannel

IChannel that specifies the type of the channel listener.

Parameters

context
Type: System.ServiceModel.Channels.BindingContext

BindingContext that specifies the binding context for the channel listener.

Return Value

Type: System.Boolean
True if this binding element can produce a channel listener of the specified type; false if it cannot.

.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