LoggedConflict Constructor (SyncIdFormatGroup, ItemChange, Object, SyncKnowledge, SyncKnowledge)

Initializes a new instance of the LoggedConflict class that represents a concurrency conflict, by using the specified ID format schema, item change metadata, item data, conflict knowledge, and made-with knowledge.

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

public:
LoggedConflict(
	SyncIdFormatGroup^ idFormats, 
	ItemChange^ itemChange, 
	Object^ data, 
	SyncKnowledge^ conflictKnowledge, 
	SyncKnowledge^ madeWithKnowledge
)

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
itemChange
Type: Microsoft.Synchronization::ItemChange
The item metadata for the conflicting change from the source provider.
data
Type: System::Object
The item data for itemChange.
conflictKnowledge
Type: Microsoft.Synchronization::SyncKnowledge
The knowledge to be learned if this change is applied.
madeWithKnowledge
Type: Microsoft.Synchronization::SyncKnowledge
The made-with knowledge for this change. The made-with knowledge for a change is typically the knowledge that the replica had when this change was made.

ExceptionCondition
ArgumentNullException

idFormats, itemChange, data, or conflictKnowledge is a nullptr.

The newly created LoggedConflict object adds references to the conflict knowledge and made-with knowledge objects that are passed in conflictKnowledge and madeWithKnowledge, but does not clone them.

Show: