ESRI.ArcGIS.Mobile
Synchronize(Generic IDictionary) Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.FeatureCaching Namespace > FeatureServiceReplicaManager Class > Synchronize Method : Synchronize(Generic IDictionary) Method

syncOptions
Dictionary>FeatureSourceId, SyncOption<
Synchronizes changes between the feature service and a client based on the replicaID provided by the client synchronously.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Synchronize( _
   ByVal syncOptions As IDictionary(Of Integer, SyncOption) _
) As IDictionary(Of Integer, FeatureServiceReplicaResults)
C# 
public IDictionary<int, FeatureServiceReplicaResults> Synchronize( 
   IDictionary<int, SyncOption> syncOptions
)

Parameters

syncOptions
Dictionary>FeatureSourceId, SyncOption<

Return Value

List of FeatureSource Id, FeatureServiceReplicaResults

Exceptions

ExceptionDescription
InvalidOperationExceptionMobileCache required
InvalidOperationExceptionMobileCache closed
InvalidOperationExceptionSyncOptions parameter required
InvalidOperationExceptionInvalid replica
InvalidOperationExceptionServer supports only bidirectional sync direction
InvalidOperationExceptionInvalid feature source id
InvalidOperationExceptionError exporting changes
InvalidOperationExceptionSynchronization failed
InvalidOperationExceptionInvalid server response
InvalidOperationExceptionServer request failed
ESRI.ArcGIS.Mobile.Exceptions.TokenCredentialExceptionToken Required
InvalidOperationExceptionOperation In progress
InvalidOperationExceptionService doesn't support per layer sync
InvalidOperationExceptionInvalid coordinate system
InvalidOperationExceptionInvalid unit
InvalidOperationExceptionInvalid Fullextent
InvalidOperationExceptionInvalid Initialextent
InvalidOperationExceptionService has no valid layers
InvalidOperationExceptionUnable to retrieve service capabilities

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.