共用方式為


DiscoveryEndpointElement.CreateServiceEndpoint(ContractDescription) 方法

定義

由衍生類別呼叫或覆寫時,建立與初始化 DiscoveryEndpoint 類別的新執行個體,此新執行個體是使用預設「探索」通訊協定版本與模式。

protected public:
 override System::ServiceModel::Description::ServiceEndpoint ^ CreateServiceEndpoint(System::ServiceModel::Description::ContractDescription ^ contractDescription);
protected internal override System.ServiceModel.Description.ServiceEndpoint CreateServiceEndpoint (System.ServiceModel.Description.ContractDescription contractDescription);
override this.CreateServiceEndpoint : System.ServiceModel.Description.ContractDescription -> System.ServiceModel.Description.ServiceEndpoint
Protected Friend Overrides Function CreateServiceEndpoint (contractDescription As ContractDescription) As ServiceEndpoint

參數

contractDescription
ContractDescription

未實作。

傳回

探索端點。

適用於