ChangeBatch Constructor (SyncIdFormatGroup, SyncKnowledge, ForgottenKnowledge, FilterInfo)

Initializes a new instance of the ChangeBatch class that contains the specified ID format schema, knowledge from the destination replica, forgotten knowledge from the source replica, and the filter that is used to control which changes are included in the change batch.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

public:
ChangeBatch(
	SyncIdFormatGroup^ idFormats, 
	SyncKnowledge^ destinationKnowledge, 
	ForgottenKnowledge^ sourceForgottenKnowledge, 
	FilterInfo^ filterInfo
)

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
destinationKnowledge
Type: Microsoft.Synchronization::SyncKnowledge
The knowledge from the destination replica.
sourceForgottenKnowledge
Type: Microsoft.Synchronization::ForgottenKnowledge
The forgotten knowledge of the source replica.
filterInfo
Type: Microsoft.Synchronization::FilterInfo
The filter that is used to control which changes are included in the change batch.

ExceptionCondition
ArgumentNullException

idFormats, destinationKnowledge, sourceForgottenKnowledge, or filterInfo is a nullptr.

Show: