NetMessagingTransportBindingElement.BuildChannelFactory<TChannel> Method

Definition

Builds a channel factory.

public override System.ServiceModel.Channels.IChannelFactory<TChannel> BuildChannelFactory<TChannel> (System.ServiceModel.Channels.BindingContext context);
override this.BuildChannelFactory : System.ServiceModel.Channels.BindingContext -> System.ServiceModel.Channels.IChannelFactory<'Channel>
Public Overrides Function BuildChannelFactory(Of TChannel) (context As BindingContext) As IChannelFactory(Of TChannel)

Type Parameters

TChannel

Type of the channel.

Parameters

context
BindingContext

The binding context.

Returns

IChannelFactory<TChannel>

The interface implemented by the channel factory.

Exceptions

Thrown when TChannel isn't a supported channel type

Thrown when context is null.

Applies to