DomainService.Factory Property

[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.]

Gets or sets the IDomainServiceFactory used to create new DomainService instances.

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

Syntax

'Declaration
Public Shared Property Factory As IDomainServiceFactory
    Get
    Set
'Usage
Dim value As IDomainServiceFactory

value = DomainService.Factory

DomainService.Factory = value
public static IDomainServiceFactory Factory { get; set; }
public:
static property IDomainServiceFactory^ Factory {
    IDomainServiceFactory^ get ();
    void set (IDomainServiceFactory^ value);
}
static member Factory : IDomainServiceFactory with get, set
static function get Factory () : IDomainServiceFactory
static function set Factory (value : IDomainServiceFactory)

Property Value

Type: System.ServiceModel.DomainServices.Server.IDomainServiceFactory
The IDomainServiceFactory used to create new DomainService instances.

See Also

Reference

DomainService Class

System.ServiceModel.DomainServices.Server Namespace