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)
Syntax
'Declaration
Public Sub New ( _
idFormats As SyncIdFormatGroup, _
destinationKnowledge As SyncKnowledge, _
sourceForgottenKnowledge As ForgottenKnowledge, _
filterInfo As FilterInfo _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim destinationKnowledge As SyncKnowledge
Dim sourceForgottenKnowledge As ForgottenKnowledge
Dim filterInfo As FilterInfo
Dim instance As New ChangeBatch(idFormats, _
destinationKnowledge, sourceForgottenKnowledge, _
filterInfo)
public ChangeBatch(
SyncIdFormatGroup idFormats,
SyncKnowledge destinationKnowledge,
ForgottenKnowledge sourceForgottenKnowledge,
FilterInfo filterInfo
)
public:
ChangeBatch(
SyncIdFormatGroup^ idFormats,
SyncKnowledge^ destinationKnowledge,
ForgottenKnowledge^ sourceForgottenKnowledge,
FilterInfo^ filterInfo
)
new :
idFormats:SyncIdFormatGroup *
destinationKnowledge:SyncKnowledge *
sourceForgottenKnowledge:ForgottenKnowledge *
filterInfo:FilterInfo -> ChangeBatch
public function ChangeBatch(
idFormats : SyncIdFormatGroup,
destinationKnowledge : SyncKnowledge,
sourceForgottenKnowledge : ForgottenKnowledge,
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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | idFormats, destinationKnowledge, sourceForgottenKnowledge, or filterInfo is a null reference (Nothing in Visual Basic). |