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. This property is not CLS-compliant. | |
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. This method is not CLS-compliant. | |
OnSessionStateChanged | Raises the StateChanged event. This method is not CLS-compliant. |
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. This event is not CLS-compliant. | |
StateChanged | Occurs when there is a change in the synchronization session state. This event is not CLS-compliant. |
Top