Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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