ChangeBatchBase Class
When overridden by a derived class, represents metadata for a set of changes.
System.Object
Microsoft.Synchronization.ChangeBatchBase
Microsoft.Synchronization.ChangeBatch
Microsoft.Synchronization.FullEnumerationChangeBatch
Microsoft.Synchronization.ChangeBatchBase
Microsoft.Synchronization.ChangeBatch
Microsoft.Synchronization.FullEnumerationChangeBatch
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
The ChangeBatchBase type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BatchWorkEstimate | Gets or sets the total work estimate for the change batch. |
![]() | CompatibilityLevel | Gets or sets the version of Sync Framework components that can be used with this object. |
![]() ![]() | DefaultCompatibilityLevel | Gets or sets the default compatibility level of all ChangeBatchBase objects. |
![]() | DisposeAfterProcessing | Gets or sets a value that indicates whether the change batch object is disposed after processing finishes. |
![]() | FilterKeyMap | Gets or set the filter key map that contains the filters tracked by the replica that originated this change batch. |
![]() | IsEmpty | Gets a value that indicates whether the change batch contains any changes. |
![]() | IsLastBatch | Gets a value that indicates whether this is the last batch in the synchronization session. |
![]() | LearnedKnowledge | Gets the knowledge that the destination replica learns when the destination provider applies all the changes in this change batch. |
![]() | PrerequisiteKnowledge | Gets the minimum knowledge that a destination provider is required to have to process this change batch. |
![]() | RemainingSessionWorkEstimate | Gets or sets the remaining work estimate for the synchronization session. |
![]() | SourceForgottenKnowledge | Gets the forgotten knowledge of the source replica. |
| Name | Description | |
|---|---|---|
![]() | AddChange | Adds a specified item change to the group that is currently open |
![]() | AddChanges | Adds a specified set of item changes to the group that currently open |
![]() | BeginOrderedGroup | Opens an ordered group in the change batch. This group is ordered by item ID. |
![]() | Dispose() | Releases all resources used by the ChangeBatchBase object. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the ChangeBatchBase object and optionally releases the managed resources. |
![]() | EndOrderedGroup | Closes a previously opened ordered group in the change batch. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetEnumerator | Gets an object that enumerates the item changes in this change batch. This method cannot be inherited. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Serialize | Serializes the change batch to an array of bytes. |
![]() | SetFilterForgottenKnowledge | Sets the filter forgotten knowledge for the specified filter. |
![]() | SetLastBatch | Sets a value that indicates that this is the last batch in the synchronization session. |
![]() | ThrowIfDisposed | Throws ObjectDisposedException if this object has been disposed. |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable.GetEnumerator | Gets an object that enumerates the item changes in this change batch. |
ChangeBatchBase is the base class for change batches. Sync Framework provides two classes that are derived from ChangeBatchBase. These are ChangeBatch for a knowledge synchronization and FullEnumerationChangeBatch for a full enumeration synchronization.
The members of IEnumerable are implemented explicitly. Code that accesses them must first cast the ChangeBatchBase object to the IEnumerable interface by using the casting operator or the as keyword.
Show:
