This documentation is archived and is not being maintained.
GeoPositionStatus Enumeration
Visual Studio 2010
Indicates the ability of the location provider to provide location updates.
Assembly: System.Device (in System.Device.dll)
| Member name | Description | |
|---|---|---|
| Ready | A location provider is ready to supply new data. | |
| Initializing | The location provider is initializing. For example, a GPS that is still obtaining a fix has this status. | |
| NoData | No location data is available from any location provider. If the conditions for Disabled do not apply, GeoCoordinateWatcher has this status before it has been started and after it has been stopped. | |
| Disabled | The location provider is disabled. On Windows 7, this is the case when the Sensor and Location platform has been disabled by group policy. |
The following example shows how to handle StatusChanged events and print out the current GeoPositionStatus.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: