This documentation is archived and is not being maintained.

Synchronize Contents State

Last modified: April 15, 2011

Applies to: Office 2010 | Outlook 2010 | Visual Studio

This topic describes what happens during the synchronize contents state of the replication state machine.

State Identifier:


Related Data Structure:


From this state:

Synchronize state

To this state:

Download table state, upload table state, or synchronize state

Note Note

The replication state machine is a deterministic state machine. A client departing from one state to another must eventually return to the former from the latter.

This state initiates one of the two replication processes: uploading the contents of specified folders on a local store, or a full synchronization. In a full synchronization, for each of the specified folders, contents are uploaded first and then downloaded. Depending on the ulFlags set in the corresponding SYNC structure in the preceding synchronize state, Outlook initializes [out] members in the SYNCCONT structure to provide information about the contents.

Through the same SYNCCONT structure, the client obtains the count of the folders that have content to be uploaded or downloaded. The client will loop through each of these folders by moving the local store to the upload table state to upload a folder, or moving the local store to the download table state to download the folder.

In addition, the client obtains entry IDs for the folders requiring replication.

When this state ends, Outlook cleans up its internal information. The local store returns to the synchronize state.