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

未实现。

返回

发现终结点。

适用于