我可以使用 ServiceHost.AddServiceEndpoint 添加端点。如何将这些端点的列表返回?
ServiceHost.AddServiceEndpoint
使用host.Description.Endpoints
host.Description.Endpoints