SALES: 1-800-867-1380

NetMessagingTransportBindingElement.CanBuildChannelListener<T> Method

Queries if the binding element can build a channel listener.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

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

Type Parameters

T

The type of the channel.

Parameters

context
Type: System.ServiceModel.Channels.BindingContext
The binding context.

Return Value

Type: System.Boolean
true if the binding element can build a channel listener for a specific type of channel; otherwise, false.

ExceptionCondition
ArgumentNullException

Thrown when context is null.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft