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 クラスのインスタンスです。

適用対象