Stop Method
Collapse the table of content
Expand the table of content

GeoCoordinateWatcher.Stop Method ()

.NET Framework (current version)
 

Stops the GeoCoordinateWatcher from providing location data and events.

Namespace:   System.Device.Location
Assembly:  System.Device (in System.Device.dll)

public void Stop()

After Stop is called, no further PositionChanged events occur, and the Position property will return Unknown.

When Stop is called, the Status property is set to F:System.Device.Location.GeoLocationStatus.Disabled.

.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft