ArcGIS Runtime SDK for WPF - Library Reference
ExecuteRelationshipQueryTaskAsync(RelationshipParameter,CancellationToken) Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > QueryTask Class > ExecuteRelationshipQueryTaskAsync Method : ExecuteRelationshipQueryTaskAsync(RelationshipParameter,CancellationToken) Method

parameter
The parameters that define the relationship of the query.
cancellationToken
Cancellation token for cancelling task.
Executes a query to a obtain addtional data from another layer/table based on a relationship defined in the service meta data.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ExecuteRelationshipQueryTaskAsync( _
   ByVal parameter As RelationshipParameter, _
   ByVal cancellationToken As CancellationToken _
) As Task(Of RelationshipResult)
C# 
public Task<RelationshipResult> ExecuteRelationshipQueryTaskAsync( 
   RelationshipParameter parameter,
   CancellationToken cancellationToken
)

Parameters

parameter
The parameters that define the relationship of the query.
cancellationToken
Cancellation token for cancelling task.

Return Value

a Task object with RelationshipResult upon successful completion. Otherwise, the Task.Exception is set.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.