Export (0) Print
Expand All

SyncErrorNumber Enumeration

Defines a list of errors that can occur during synchronization.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

public enum SyncErrorNumber

Member nameDescription
UnknownAn unknown error occurred during synchronization.
InvalidValueThe value specified for one of the arguments is not valid.
StoreExceptionAn exception was thrown by the remote data store.
ParsingQueryFailedThe remote data store could not parse one of the SELECT commands that are used to retrieve data changes.
InvalidArgumentsOne of the arguments specified is not valid.
AddingTableMetadataFailedThe local database could not add metadata columns to a table that is included in synchronization.
TableDoesNotExistThe table does not exist in the database, and you specified a value of UseExistingTableOrFail for CreationOption.
TableAlreadyExistsThe table already exists in the database, and you specified a value of CreateNewTableOrFail for CreationOption.
SyncInProgressA synchronization session is in progress and Synchronize was called. Only one session can be in progress at a time for the local database. Only one session can be in progress at a time for a specified table in the remote database.
MetadataDoesNotExistOne of the anchor values is missing.
TableIsNotTrackedCannot retrieve data changes from a table because the change tracking metadata does not exist for that table.
PrimaryKeyNotFoundA table does not have a primary key. A primary key is required to identify rows during synchronization.
InvalidSchemaDataSetThe table schema is not valid for one of the tables that should be created in the local database. If you specify a schema by using SchemaDataSet, make sure that the data set contains a valid schema for all tables that should be synchronized.
MissingTableSchemaThe table schema is not defined for one of the tables that should be created in the local database. If you specify a schema by using SchemaDataSet, make sure that the data set contains a valid schema for all tables that should be synchronized.
MissingSelectCommandOne of the SELECT commands that are used to retrieve data changes has not been defined.
MissingSessionVariableA required session variable is missing for one of the SELECT commands that are used to retrieve data changes. For a list of session variables, see SyncSession.
Show:
© 2014 Microsoft