EndpointDiscoveryMetadata.FromServiceEndpoint 方法

定义

重载

FromServiceEndpoint(ServiceEndpoint)

EndpointDiscoveryMetadata 创建新的 ServiceEndpoint

FromServiceEndpoint(ServiceEndpoint, EndpointDispatcher)

使用指定的服务终结点和终结点调度程序创建 EndpointDiscoveryMetadata 类的新实例。

FromServiceEndpoint(ServiceEndpoint)

public:
 static System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^ FromServiceEndpoint(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public static System.ServiceModel.Discovery.EndpointDiscoveryMetadata FromServiceEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint);
static member FromServiceEndpoint : System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Discovery.EndpointDiscoveryMetadata
Public Shared Function FromServiceEndpoint (endpoint As ServiceEndpoint) As EndpointDiscoveryMetadata

参数

endpoint
ServiceEndpoint

服务终结点。

返回

EndpointDiscoveryMetadata

EndpointDiscoveryMetadata 实例。

适用于

FromServiceEndpoint(ServiceEndpoint, EndpointDispatcher)

使用指定的服务终结点和终结点调度程序创建 EndpointDiscoveryMetadata 类的新实例。

public:
 static System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^ FromServiceEndpoint(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ endpointDispatcher);
public static System.ServiceModel.Discovery.EndpointDiscoveryMetadata FromServiceEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);
static member FromServiceEndpoint : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> System.ServiceModel.Discovery.EndpointDiscoveryMetadata
Public Shared Function FromServiceEndpoint (endpoint As ServiceEndpoint, endpointDispatcher As EndpointDispatcher) As EndpointDiscoveryMetadata

参数

endpoint
ServiceEndpoint

终结点。

endpointDispatcher
EndpointDispatcher

终结点调度程序。

返回

EndpointDiscoveryMetadata

EndpointDiscoveryMetadata 实例。

适用于