Share via


QueryDescription Constructor (DomainOperationEntry, array<Object[])

[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 and parameter values.

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() _
)
'Usage
Dim domainOperationEntry As DomainOperationEntry
Dim parameterValues As Object()

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

Parameters

  • parameterValues
    Type: array<System.Object[]
    Parameter values for the method if it requires any.

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