Share via


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입니다.

반환

IWSTrustChannelContract

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

설명

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

적용 대상