Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft