StandardEndpointElement.InitializeFrom(ServiceEndpoint) 方法

定义

确保指定的服务终结点不为 null,并且其类型与当前的终结点类型匹配。

protected public:
 virtual void InitializeFrom(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected internal virtual void InitializeFrom (System.ServiceModel.Description.ServiceEndpoint endpoint);
abstract member InitializeFrom : System.ServiceModel.Description.ServiceEndpoint -> unit
override this.InitializeFrom : System.ServiceModel.Description.ServiceEndpoint -> unit
Protected Friend Overridable Sub InitializeFrom (endpoint As ServiceEndpoint)

参数

endpoint
ServiceEndpoint

一个终结点,它使客户端能够查找服务并与之进行通信。

适用于