EndpointDiscoveryMetadataCD1.FromEndpointDiscoveryMetadata 方法

定义

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

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

参数

endpointDiscoveryMetadata
EndpointDiscoveryMetadata

终结点发现元数据。

返回

EndpointDiscoveryMetadataCD1

一个 EndpointDiscoveryMetadataCD1 实例。

适用于