RelayedOnewayTransportBindingElement.CanBuildChannelListener<TChannel> Method

Definition

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

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

Type Parameters

TChannel

Parameters

context
BindingContext

The binding context that provides context for this binding element.

Returns

true if a channel listener can be built for the specified type of channel; otherwise, false.

Applies to