ServiceHostBase.AddDefaultEndpoints Method ()

.NET Framework (current version)
 

Adds service endpoints for all base addresses in each contract found in the service host with the default binding.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public virtual ReadOnlyCollection<ServiceEndpoint> AddDefaultEndpoints()

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ServiceEndpoint>

A read-only collection of default endpoints.

.NET Framework
Available since 4.0
Return to top
Show: