ServiceHostBase.AddDefaultEndpoints Metodo

Definizione

Aggiunge endpoint di servizio per tutti gli indirizzi di base in ogni contratto trovato nell'host del servizio con l'associazione predefinita.Adds service endpoints for all base addresses in each contract found in the service host with the default binding.

public:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::ServiceModel::Description::ServiceEndpoint ^> ^ AddDefaultEndpoints();
public virtual System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.Description.ServiceEndpoint> AddDefaultEndpoints ();
abstract member AddDefaultEndpoints : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.Description.ServiceEndpoint>
override this.AddDefaultEndpoints : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.ServiceModel.Description.ServiceEndpoint>
Public Overridable Function AddDefaultEndpoints () As ReadOnlyCollection(Of ServiceEndpoint)

Restituisce

Raccolta di sola lettura di endpoint predefiniti.A read-only collection of default endpoints.

Si applica a