DevForce Help Reference
AddDefaultEndpoints() Method


Adds service endpoints for all base addresses in each contract found in the service host with the default binding.
Syntax
'Declaration
 
Public Overrides Function AddDefaultEndpoints() As ReadOnlyCollection(Of ServiceEndpoint)
'Usage
 
Dim instance As EntityServiceHost
Dim value As ReadOnlyCollection(Of ServiceEndpoint)
 
value = instance.AddDefaultEndpoints()
public override ReadOnlyCollection<ServiceEndpoint> AddDefaultEndpoints()

Return Value

A read-only collection of default endpoints.
Requirements

Target Platforms: 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

See Also

Reference

EntityServiceHost Class
EntityServiceHost Members

Send Feedback