共用方式為


HttpRelayTransportBindingElement.BuildChannelFactory<TChannel> Method

Definition

Creates a channel factory that can be used to create a channel.

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

Parameters

context
BindingContext

The binding context for the channel.

Returns

IChannelFactory<TChannel>

The channel factory of the specified type.

Applies to