Share via


QueryDescription Constructor (DomainOperationEntry, array<Object[], Boolean, IQueryable)

[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 QueryDescription class with the specified DomainOperationEntry, parameter values, flag indicating whether to evaluate and include the total entity count in the result, and optional query.

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

Syntax

'Declaration
Public Sub New ( _
    domainOperationEntry As DomainOperationEntry, _
    parameterValues As Object(), _
    includeTotalCount As Boolean, _
    query As IQueryable _
)
'Usage
Dim domainOperationEntry As DomainOperationEntry
Dim parameterValues As Object()
Dim includeTotalCount As Boolean
Dim query As IQueryable

Dim instance As New QueryDescription(domainOperationEntry, _
    parameterValues, includeTotalCount, _
    query)
public QueryDescription(
    DomainOperationEntry domainOperationEntry,
    Object[] parameterValues,
    bool includeTotalCount,
    IQueryable query
)
public:
QueryDescription(
    DomainOperationEntry^ domainOperationEntry, 
    array<Object^>^ parameterValues, 
    bool includeTotalCount, 
    IQueryable^ query
)
new : 
        domainOperationEntry:DomainOperationEntry * 
        parameterValues:Object[] * 
        includeTotalCount:bool * 
        query:IQueryable -> QueryDescription
public function QueryDescription(
    domainOperationEntry : DomainOperationEntry, 
    parameterValues : Object[], 
    includeTotalCount : boolean, 
    query : IQueryable
)

Parameters

  • parameterValues
    Type: array<System.Object[]
    Parameter values for the method if it requires any.
  • includeTotalCount
    Type: System.Boolean
    true to indicate that the total entity count is required; otherwise, false.

Exceptions

Exception Condition
[T;System.ArgumentNullException]

domainOperationEntry is nulla null reference (Nothing in Visual Basic).

[T;System.ArgumentNullException]

parameterValues is nulla null reference (Nothing in Visual Basic).

[T;System.ArgumentOutOfRangeException]

domainOperationEntry is not a query.

See Also

Reference

QueryDescription Class

QueryDescription Overload

System.ServiceModel.DomainServices.Server Namespace