IGeoPositionWatcher(Of T).TryStart Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Attempts to start the acquisition of data from the location service.
Assembly: System.Device (in System.Device.dll)
'Declaration Function TryStart ( _ suppressPermissionPrompt As Boolean, _ timeout As TimeSpan _ ) As Boolean
Parameters
- suppressPermissionPrompt
- Type: System.Boolean
This parameter is not used.
- timeout
- Type: System.TimeSpan
A TimeSpan object specifying the amount of time to wait for location data acquisition to begin.
Show: