NetMessagingTransportBindingElement.CanBuildChannelListener<T> Method

Definition

Queries if we can build channel listener 'context'.

public override bool CanBuildChannelListener<T> (System.ServiceModel.Channels.BindingContext context) where T : class, System.ServiceModel.Channels.IChannel;
override this.CanBuildChannelListener : System.ServiceModel.Channels.BindingContext -> bool (requires 'T : null and 'T :> System.ServiceModel.Channels.IChannel)
Public Overrides Function CanBuildChannelListener(Of T As {Class, IChannel}) (context As BindingContext) As Boolean

Type Parameters

T

Generic type parameter.

Parameters

context
BindingContext

The binding context.

Returns

Returns a value that indicates whether the binding element can build a channel listener for a specific type of channel.

Exceptions

Thrown when argument null.

Applies to