HttpsTransportBindingElement.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>

전송 바인딩 요소에 설정된 값을 기반으로 구성되는 지정된 형식의 채널 팩터리입니다.

예외

contextnull이 될 수 없는 경우

설명

전송 바인딩 요소에 설정된 값에 따라 구성된 채널 팩터리를 반환합니다.

적용 대상