WSTrustChannelFactory.CreateChannel(EndpointAddress, Uri) 메서드

정의

WSTrustChannel 지정된 전송 주소를 통해 특정 엔드포인트 주소의 서비스로 메시지를 보내는 데 사용되는 개체를 만듭니다.

public:
 override System::ServiceModel::Security::IWSTrustChannelContract ^ CreateChannel(System::ServiceModel::EndpointAddress ^ address, Uri ^ via);
public override System.ServiceModel.Security.IWSTrustChannelContract CreateChannel(System.ServiceModel.EndpointAddress address, Uri via);
override this.CreateChannel : System.ServiceModel.EndpointAddress * Uri -> System.ServiceModel.Security.IWSTrustChannelContract
Public Overrides Function CreateChannel (address As EndpointAddress, via As Uri) As IWSTrustChannelContract

매개 변수

address
EndpointAddress

EndpointAddress 서비스의 위치를 제공하는 위치입니다.

via
Uri

Uri 채널에서 메시지를 보내는 전송 주소가 들어 있는 항목입니다.

반품

Contract 새 채널을 나타내는 개체입니다.

설명

반환된 개체는 클래스의 인스턴스입니다 WSTrustChannel .

적용 대상