Share via


DataServiceHostFactory Class

Represents a class used by the infrastructure of WCF Data Services to connect to Windows Communication Foundation (WCF). 

Inheritance Hierarchy

System.Object
  System.ServiceModel.Activation.ServiceHostFactoryBase
    System.ServiceModel.Activation.ServiceHostFactory
      System.Data.Services.DataServiceHostFactory

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Class DataServiceHostFactory _
    Inherits ServiceHostFactory
'Usage
Dim instance As DataServiceHostFactory
public class DataServiceHostFactory : ServiceHostFactory
public ref class DataServiceHostFactory : public ServiceHostFactory
type DataServiceHostFactory =  
    class 
        inherit ServiceHostFactory 
    end
public class DataServiceHostFactory extends ServiceHostFactory

The DataServiceHostFactory type exposes the following members.

Constructors

  Name Description
Public method DataServiceHostFactory Initializes a new instance of the DataServiceHostFactory class.

Top

Methods

  Name Description
Public method CreateServiceHost(String, array<Uri[]) (Inherited from ServiceHostFactory.)
Protected method CreateServiceHost(Type, array<Uri[]) Creates a new DataServiceHost from the URI. (Overrides ServiceHostFactory.CreateServiceHost(Type, array<Uri[]).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

This class enables WCF Data Services to hook up to WCF as a raw HTTP handler. Not recommended for use by third parties.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Data.Services Namespace