Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

abstract Stop : unit -> unit
override Stop : unit -> unit

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