QueryCompletedResult 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 QueryCompletedResult class.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Public Sub New ( _
entities As IEnumerable(Of Entity), _
includedEntities As IEnumerable(Of Entity), _
totalCount As Integer, _
validationErrors As IEnumerable(Of ValidationResult) _
)
'Usage
Dim entities As IEnumerable(Of Entity)
Dim includedEntities As IEnumerable(Of Entity)
Dim totalCount As Integer
Dim validationErrors As IEnumerable(Of ValidationResult)
Dim instance As New QueryCompletedResult(entities, _
includedEntities, totalCount, validationErrors)
public QueryCompletedResult(
IEnumerable<Entity> entities,
IEnumerable<Entity> includedEntities,
int totalCount,
IEnumerable<ValidationResult> validationErrors
)
public:
QueryCompletedResult(
IEnumerable<Entity^>^ entities,
IEnumerable<Entity^>^ includedEntities,
int totalCount,
IEnumerable<ValidationResult^>^ validationErrors
)
new :
entities:IEnumerable<Entity> *
includedEntities:IEnumerable<Entity> *
totalCount:int *
validationErrors:IEnumerable<ValidationResult> -> QueryCompletedResult
public function QueryCompletedResult(
entities : IEnumerable<Entity>,
includedEntities : IEnumerable<Entity>,
totalCount : int,
validationErrors : IEnumerable<ValidationResult>
)
Parameters
- entities
Type: System.Collections.Generic.IEnumerable<Entity>
The entities returned from the query.
- includedEntities
Type: System.Collections.Generic.IEnumerable<Entity>
The included entities returned from the query.
- totalCount
Type: System.Int32
The total number of rows for the original query without any paging applied to it.
- validationErrors
Type: System.Collections.Generic.IEnumerable<ValidationResult>
A collection of validation errors.