SyncAgent Members
The SyncAgent object orchestrates synchronization.
The following tables list the members exposed by the SyncAgent type.
Public Constructors
Name | Description | |
---|---|---|
SyncAgent | Overloaded. Initializes a new instance of the SyncAgent class. |
Top
Public Properties
Name | Description | |
---|---|---|
Configuration | Gets a SyncConfiguration object that contains information about tables and synchronization parameters. | |
LocalProvider | Gets or sets an object derived from ClientSyncProvider that is used to communicate with the local data store. | |
RemoteProvider | Gets or sets an object derived from ServerSyncProvider that is used to communicate with the remote data store. | |
SessionState | Gets or sets a SyncSessionState object that is used to define whether the session is currently synchronizing. | |
SyncStatistics | Gets a SyncStatistics object that represents statistics for a synchronization session. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Dispose | Overloaded. Releases the resources used by the SyncAgent. | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
Synchronize | Synchronizes data between the local and remote data stores. | |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. Releases the resources used by the SyncAgent. | |
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) | |
OnSessionProgress | Raises the SessionProgress event. | |
OnSessionStateChanged | Raises the StateChanged event. |
Top
Public Events
Name | Description | |
---|---|---|
SessionProgress | Occurs during synchronization: after metadata is read at the client, after metadata is written, after changes are downloaded, and after changes are uploaded. | |
StateChanged | Occurs when there is a change in the synchronization session state. |
Top