ServiceBusMessagingTransportBindingElement.BuildChannelFactory<TChannel> Method

Builds a channel factory.

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

Syntax

'Declaration
Public Overrides Function BuildChannelFactory(Of TChannel) ( _
    context As BindingContext _
) As IChannelFactory(Of TChannel)
'Usage
Dim instance As ServiceBusMessagingTransportBindingElement
Dim context As BindingContext
Dim returnValue As IChannelFactory(Of TChannel)

returnValue = instance.BuildChannelFactory(context)
public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(
    BindingContext context
)
public:
generic<typename TChannel>
virtual IChannelFactory<TChannel>^ BuildChannelFactory(
    BindingContext^ context
) override
abstract BuildChannelFactory : 
        context:BindingContext -> IChannelFactory<'TChannel> 
override BuildChannelFactory : 
        context:BindingContext -> IChannelFactory<'TChannel> 
JScript does not support generic types and methods.

Type Parameters

  • TChannel
    Type of the channel.

Parameters

Return Value

Type: System.ServiceModel.Channels.IChannelFactory<TChannel>
The interface implemented by the channel factory.

See Also

Reference

ServiceBusMessagingTransportBindingElement Class

Microsoft.ServiceBus.Messaging Namespace