ArcGIS API for WPF - Library Reference
ExecuteAsync(FindParameters,Object) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > FindTask Class > ExecuteAsync Method : ExecuteAsync(FindParameters,Object) Method

findParameters
Specifies the layers and fields that are used to search against.
userToken
A user-defined object that is passed to the method invoked when the asynchronous operation completes.
Executes an Find against an ArcGIS Server map layer. The result is returned as a List of FeatureSet. If the Find is successful, the user-specified responder is invoked with the result. A FeatureSet contains an array of Graphic features, which can be added to the map using GraphicsLayer.Graphics.Add.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub ExecuteAsync( _
   ByVal findParameters As FindParameters, _
   ByVal userToken As Object _
) 
C# 
public void ExecuteAsync( 
   FindParameters findParameters,
   object userToken
)

Parameters

findParameters
Specifies the layers and fields that are used to search against.
userToken
A user-defined object that is passed to the method invoked when the asynchronous operation completes.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.