共用方式為


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 執行個體。

適用於

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 執行個體。

適用於