Defines which methods of the service class will be accessible via the endpoint; each endpoint may expose a different set of methods.
(in Microsoft.SharePoint.dll)Available in Sandboxed Solutions: No
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public interface IServiceEndpoint
The endpoints also define a binding that specifies how a client will communicate with the service and the address where the endpoint is hosted.