PeerCustomResolverBindingElement.BuildChannelFactory<TChannel> 메서드

정의

메시지를 보내기 위한 채널을 만드는 데 사용할 수 있는 채널 팩터리를 만듭니다.

public:
generic <typename TChannel>
 override System::ServiceModel::Channels::IChannelFactory<TChannel> ^ BuildChannelFactory(System::ServiceModel::Channels::BindingContext ^ context);
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)

형식 매개 변수

TChannel

생성할 채널의 형식입니다.

매개 변수

context
BindingContext

채널 팩터리에 대한 바인딩 컨텍스트를 지정하는 BindingContext입니다.

반환

IChannelFactory<TChannel>

지정된 형식의 새로운 채널 팩터리를 포함하는 IChannelFactory입니다.

설명

이 메서드는 전송 바인딩 요소의 구성에 따라 메시지를 보내기 위한 채널 팩터리를 가져오는 데 사용할 수 있습니다.

적용 대상