Editar

Partilhar via


ServiceHostBase.AddDefaultEndpoints Method

Definition

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)

Returns

A read-only collection of default endpoints.

Applies to