共用方式為


AnnouncementEndpointElement.CreateServiceEndpoint(ContractDescription) 方法

定義

由衍生類別呼叫或覆寫時,建立與初始化 AnnouncementEndpoint 類別的新執行個體,此新執行個體是使用目前「探索」通訊協定版本的合約描述。

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

未使用。

傳回

ServiceEndpoint

公告端點。

適用於