This topic has not yet been rated - Rate this topic

IGeoPositionWatcher<T>.TryStart Method

May 02, 2013

Attempts to start the acquisition of data from the location service.

Namespace:  System.Device.Location
Assembly:  System.Device (in System.Device.dll)
bool TryStart(
	bool suppressPermissionPrompt,
	TimeSpan timeout
)

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.

Return Value

Type: System.Boolean
Returns Boolean.

Windows Phone OS

Supported in: 8.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.