Share via


ChangeBatch.EndUnorderedGroup Method

Closes a previously opened unordered group in the change batch.

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

Syntax

'Declaration
Public Sub EndUnorderedGroup ( _
    madeWithKnowledge As SyncKnowledge, _
    allChangeForKnowledgeIncluded As Boolean _
)
'Usage
Dim instance As ChangeBatch
Dim madeWithKnowledge As SyncKnowledge
Dim allChangeForKnowledgeIncluded As Boolean

instance.EndUnorderedGroup(madeWithKnowledge, _
    allChangeForKnowledgeIncluded)
public void EndUnorderedGroup(
    SyncKnowledge madeWithKnowledge,
    bool allChangeForKnowledgeIncluded
)
public:
void EndUnorderedGroup(
    SyncKnowledge^ madeWithKnowledge, 
    bool allChangeForKnowledgeIncluded
)
member EndUnorderedGroup : 
        madeWithKnowledge:SyncKnowledge * 
        allChangeForKnowledgeIncluded:bool -> unit 
public function EndUnorderedGroup(
    madeWithKnowledge : SyncKnowledge, 
    allChangeForKnowledgeIncluded : boolean
)

Parameters

  • madeWithKnowledge
    Type: Microsoft.Synchronization.SyncKnowledge
    The made-with knowledge for the changes that are contained in the group. Typically, this is the knowledge of the replica that made this group.
  • allChangeForKnowledgeIncluded
    Type: System.Boolean
    true when all the changes contained in madeWithKnowledge are included in this change batch. Otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

madeWithKnowledge is a null reference (Nothing in Visual Basic).

ChangeBatchIsReadOnlyException

This ChangeBatch was serialized and has not been deserialized.

SyncInvalidOperationException

No unordered group was started.

See Also

Reference

ChangeBatch Class

Microsoft.Synchronization Namespace