This topic has not yet been rated - Rate this topic

ODataEndpointFactory.CreateEndpoints Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Creates endpoints based on the specified description.

Namespace:  System.ServiceModel.DomainServices.Hosting
Assembly:  System.ServiceModel.DomainServices.Hosting.OData (in System.ServiceModel.DomainServices.Hosting.OData.dll)
public override IEnumerable<ServiceEndpoint> CreateEndpoints(
	DomainServiceDescription description,
	DomainServiceHost serviceHost
)

Parameters

description
Type: System.ServiceModel.DomainServices.Server.DomainServiceDescription
The DomainServiceDescription of the domain service to create the endpoints for.
serviceHost
Type: DomainServiceHost
The service host for which the endpoints will be created.

Return Value

Type: System.Collections.Generic.IEnumerable<ServiceEndpoint>
The endpoints that were created.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.