Adds service endpoints for all base addresses in each contract found in the service host with the default binding.
Public Overridable Function AddDefaultEndpoints As ReadOnlyCollection(Of ServiceEndpoint)
public virtual ReadOnlyCollection<ServiceEndpoint> AddDefaultEndpoints()
public: virtual ReadOnlyCollection<ServiceEndpoint^>^ AddDefaultEndpoints()
abstract AddDefaultEndpoints : unit -> ReadOnlyCollection<ServiceEndpoint> override AddDefaultEndpoints : unit -> ReadOnlyCollection<ServiceEndpoint>
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2