DomainContext Constructor
[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 a new instance of the DomainContext class.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Protected Sub New ( _
domainClient As DomainClient _
)
'Usage
Dim domainClient As DomainClient
Dim instance As New DomainContext(domainClient)
protected DomainContext(
DomainClient domainClient
)
protected:
DomainContext(
DomainClient^ domainClient
)
new :
domainClient:DomainClient -> DomainContext
protected function DomainContext(
domainClient : DomainClient
)
Parameters
- domainClient
Type: System.ServiceModel.DomainServices.Client.DomainClient
The DomainClient instance this DomainContext should use.