MobileForms Toolkit Documentation

GeoRoute.GetRouteCompleted Event

Occurs when the GetRoute request completes

public event EventHandler GetRouteCompleted;

Remarks

If the request has been successfully completed, the property Route contains the GeoRouteResult object representing the result. Getting the Route property in case of failure causes that a ServiceRequestException is thrown.

This event is not thread safe because it is raised in the context of the background thread. Before accessing UI elements you will need to marshal the event using e.g. BeginInvoke call.

See Also

GeoRoute Class | Resco.Location.Services.GeoRoute Namespace