EndpointDiscoveryMetadataApril2005.FromEndpointDiscoveryMetadata 方法

定义

使用指定的 EndpointDiscoveryMetadataApril2005 实例初始化 EndpointDiscoveryMetadata 的新实例。

public:
 static System::ServiceModel::Discovery::VersionApril2005::EndpointDiscoveryMetadataApril2005 ^ FromEndpointDiscoveryMetadata(System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^ endpointDiscoveryMetadata);
public static System.ServiceModel.Discovery.VersionApril2005.EndpointDiscoveryMetadataApril2005 FromEndpointDiscoveryMetadata (System.ServiceModel.Discovery.EndpointDiscoveryMetadata endpointDiscoveryMetadata);
static member FromEndpointDiscoveryMetadata : System.ServiceModel.Discovery.EndpointDiscoveryMetadata -> System.ServiceModel.Discovery.VersionApril2005.EndpointDiscoveryMetadataApril2005
Public Shared Function FromEndpointDiscoveryMetadata (endpointDiscoveryMetadata As EndpointDiscoveryMetadata) As EndpointDiscoveryMetadataApril2005

参数

endpointDiscoveryMetadata
EndpointDiscoveryMetadata

终结点发现元数据。

返回

一个 EndpointDiscoveryMetadataApril2005 实例。

适用于