MobileForms Toolkit Documentation

GeoCode.GetLocationAsync Method 

Initializes the asynchronous civic address translation request.

public void GetLocationAsync(
Address address,
object userState
);

Parameters

address
A Address object representing the requested location.
userState
A user state object that can be used to identify the request after it completes asynchronously.

Remarks

The GetLocationAsync method starts the asynchronous request and returns immediately. Thus the result may not be available after the method completes. GeoCode object raises the event GetLocationCompleted immediately after the asynchronous request completes.

Exceptions

Exception TypeCondition
NotSupportedExceptionA service provider specified by ServiceProvider property does not support this kind of service.

See Also

GeoCode Class | Resco.Location.Services.GeoCode Namespace