DiscoveryServiceExtension.PublishedEndpoints 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得已發行端點的唯讀集合。
public:
property System::Collections::ObjectModel::ReadOnlyCollection<System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^> ^ PublishedEndpoints { System::Collections::ObjectModel::ReadOnlyCollection<System::ServiceModel::Discovery::EndpointDiscoveryMetadata ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.Discovery.EndpointDiscoveryMetadata> PublishedEndpoints { get; }
member this.PublishedEndpoints : System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.Discovery.EndpointDiscoveryMetadata>
Public ReadOnly Property PublishedEndpoints As ReadOnlyCollection(Of EndpointDiscoveryMetadata)
屬性值
已發行端點的唯讀集合。
備註
這個屬性應只能在成功開啟 ServiceHost 之後存取。 當 ServiceHost 處於 Opening 狀態,就會產生 EndpointDiscoveryMetadata,並將它加入至集合。