ArcGIS Runtime SDK for WPF - Library Reference
TryStart Method
See Also 
ESRI.ArcGIS.Client.Local.Gps Namespace > FileGpsCoordinateWatcher Class : TryStart Method

suppressPermissionPrompt
This param is not used.
timeout
Time in milliseconds to wait for initialization to complete.
Start acquiring location data, specifying an initialization timeout. This method returns synchronously.

Syntax

Visual Basic (Declaration) 
Public Overrides NotOverridable Function TryStart( _
   ByVal suppressPermissionPrompt As Boolean, _
   ByVal timeout As TimeSpan _
) As Boolean
C# 
public override bool TryStart( 
   bool suppressPermissionPrompt,
   TimeSpan timeout
)

Parameters

suppressPermissionPrompt
This param is not used.
timeout
Time in milliseconds to wait for initialization to complete.

Return Value

true if succeeded, false if timed out.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.