FeedBuilder::LogConflict Method
Saves a conflict for later conflict resolution or propagation.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public: void LogConflict( ItemChange^ conflictingChange, String^ itemData, SyncKnowledge^ knowledge )
Parameters
- conflictingChange
- Type: Microsoft.Synchronization::ItemChange
The change that caused the conflict.
- itemData
- Type: System::String
The item data in XML format.
- knowledge
- Type: Microsoft.Synchronization::SyncKnowledge
The knowledge to be learned if the conflicting change is applied. This must be logged with the conflicting change.
| Exception | Condition |
|---|---|
| ArgumentNullException | conflictingChange or knowledge is a nullptr. |
| ItemNotInFeedMetadataException | The changed item was not in the feed metadata. |
| SyncInvalidOperationException | Metadata for itemData was missing from the feed or a synchronization XML node was missing from itemData. |
This method helps a provider implement its SaveConflict method.
Show: