ServiceHostBase.AddDefaultEndpoints Method ()

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Overridable Function AddDefaultEndpoints As ReadOnlyCollection(Of ServiceEndpoint)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection(Of ServiceEndpoint)

A read-only collection of default endpoints.

.NET Framework
Available since 4.0
Return to top
Show: