Visual Basic (Declaration) | |
---|---|
Public Event DistanceCompleted As EventHandler(Of DistanceEventArgs) |
C# | |
---|---|
public event EventHandler<DistanceEventArgs> DistanceCompleted |
The event handler receives an argument of type DistanceEventArgs containing data related to this event. The following DistanceEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Distance | Gets the distance returned by the geometry service. |
UserState (Inherited from ESRI.ArcGIS.Client.Tasks.TaskEventArgs) | Gets the unique identifier for the asynchronous task. |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8