Share via


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

Exceptions

Exception Condition
ArgumentNullException

idFormats, destinationKnowledge, sourceForgottenKnowledge, or filterInfo is a null reference (Nothing in Visual Basic).

See Also

Reference

ChangeBatch Class

ChangeBatch Overload

Microsoft.Synchronization Namespace