Xceed Toolkit Plus for WPF v4.6 Documentation
WcfDataServicesDataSourceProvider Constructor(DataServiceQuery,DataServiceContext)


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.Data Namespace > WcfDataServicesDataSourceProvider Class > WcfDataServicesDataSourceProvider Constructor : WcfDataServicesDataSourceProvider Constructor(DataServiceQuery,DataServiceContext)
The DataServiceQuery to wrap.
The DataServiceContext of the specified dataServiceQuery.
Initializes a new instance of the WcfDataServicesDataSourceProvider class specifying the DataServiceQuery to wrap and its DataServiceContext.
Syntax
'Declaration
 
Public Function New( _

   ByVal dataServiceQuery As DataServiceQuery, _

   ByVal dataServiceContext As DataServiceContext _

)
'Usage
 
Dim dataServiceQuery As DataServiceQuery

Dim dataServiceContext As DataServiceContext

 

Dim instance As New WcfDataServicesDataSourceProvider(dataServiceQuery, dataServiceContext)
public WcfDataServicesDataSourceProvider( 

   DataServiceQuery dataServiceQuery,

   DataServiceContext dataServiceContext

)

Parameters

dataServiceQuery
The DataServiceQuery to wrap.
dataServiceContext
The DataServiceContext of the specified dataServiceQuery.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WcfDataServicesDataSourceProvider Class
WcfDataServicesDataSourceProvider Members
Overload List