共用方式為


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

適用於