BuildChannelListener(TChannel) Method
Minimera innehållsförteckningen
Maximera innehållsförteckningen
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

TcpRelayTransportBindingElement.BuildChannelListener<TChannel> Method (BindingContext)

 

Creates a channel listener of the specified type.

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

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

Parameters

context
Type: System.ServiceModel.Channels.BindingContext

Describes the bindings, behaviors, contracts, and other information required to create the channel factory.

Return Value

Type: System.ServiceModel.Channels.IChannelListener<TChannel>

A channel listener of the specified type.

Type Parameters

TChannel

The type of channel factory.

Exception Condition
InvalidOperationException

When Transport protection is enabled and the Connection Mode is set to either Hybrid or Direct.

Return to top
Visa:
© 2016 Microsoft