DomainServiceDescription.GetQueryMethod Method

[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.]

Returns the DomainService query method with the specified name.

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


Public Function GetQueryMethod ( _
    queryName As String _
) As DomainOperationEntry
Dim instance As DomainServiceDescription
Dim queryName As String
Dim returnValue As DomainOperationEntry

returnValue = instance.GetQueryMethod(queryName)
public DomainOperationEntry GetQueryMethod(
    string queryName
DomainOperationEntry^ GetQueryMethod(
    String^ queryName
member GetQueryMethod : 
        queryName:string -> DomainOperationEntry 
public function GetQueryMethod(
    queryName : String
) : DomainOperationEntry


Return Value

Type: System.ServiceModel.DomainServices.Server.DomainOperationEntry
The DomainOperationEntry for the specified query name.

See Also


DomainServiceDescription Class

System.ServiceModel.DomainServices.Server Namespace