Editar

Partilhar via


DiscoveryServiceExtension.PublishedEndpoints Property

Definition

Gets a read-only collection of published endpoints.

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)

Property Value

A read-only collection of published endpoints.

Remarks

The property should be accessed only after the ServiceHost has successfully opened. When the ServiceHost is in Opening state, the EndpointDiscoveryMetadata is being generated and added to the collection.

Applies to