DomainDataService.InitializeService Method
[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.]
Initializes configuration for the service instance.
Namespace: System.ServiceModel.DomainServices.Hosting.OData
Assembly: System.ServiceModel.DomainServices.Hosting.OData (in System.ServiceModel.DomainServices.Hosting.OData.dll)
Syntax
'Declaration
Public Shared Sub InitializeService ( _
config As DataServiceConfiguration _
)
'Usage
Dim config As DataServiceConfiguration
DomainDataService.InitializeService(config)
public static void InitializeService(
DataServiceConfiguration config
)
public:
static void InitializeService(
DataServiceConfiguration^ config
)
static member InitializeService :
config:DataServiceConfiguration -> unit
public static function InitializeService(
config : DataServiceConfiguration
)
Parameters
- config
Type: System.Data.Services.DataServiceConfiguration
Configuration settings for the service.