UdpAnnouncementEndpointElement.CreateServiceEndpoint(ContractDescription) 方法

定義

由衍生類別呼叫或覆寫時,建立並初始化 UdpAnnouncementEndpoint 類別的新執行個體,此新執行個體是使用目前「探索」通訊協定版本與模式的合約描述。When called or overridden by a derived class, creates and initializes a new instance of the UdpAnnouncementEndpoint class that uses the contract description of the current Discovery protocol version and mode.

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

未實作。Not implemented.

傳回

ServiceEndpoint

UDP 公告端點。A UDP announcement endpoint.

適用於