DiscoveryEndpointProvider.GetDiscoveryEndpoint 方法
定义
获取发现终结点。Gets the discovery endpoint.
public:
abstract System::ServiceModel::Discovery::DiscoveryEndpoint ^ GetDiscoveryEndpoint();
public abstract System.ServiceModel.Discovery.DiscoveryEndpoint GetDiscoveryEndpoint ();
abstract member GetDiscoveryEndpoint : unit -> System.ServiceModel.Discovery.DiscoveryEndpoint
Public MustOverride Function GetDiscoveryEndpoint () As DiscoveryEndpoint
返回
发现终结点。The discovery endpoint.
注解
DiscoveryClientBindingElement 类对用户传递的 GetDiscoveryEndpoint 实例调用 DiscoveryEndpointProvider 方法来获取 DiscoveryEndpoint,以便发现服务。The DiscoveryClientBindingElement class calls the GetDiscoveryEndpoint method on the DiscoveryEndpointProvider instance passed by the user to get the DiscoveryEndpoint for discovering the services. 只要 DiscoveryClientBindingElement 必须克隆自己,就还会调用 GetDiscoveryEndpoint 方法。DiscoveryClientBindingElement also calls GetDiscoveryEndpoint method whenever it must clone itself.