DeleteDetector::ReportLiveItemByIndexedFields Method
When overridden in a derived class, reports that the item identified by the specified set of indexed field values is active and should not be considered deleted.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
public: virtual void ReportLiveItemByIndexedFields( IEnumerable<KeyValuePair<String^, Object^>>^ fields ) abstract
Parameters
- fields
- Type: System.Collections.Generic::IEnumerable<KeyValuePair<String, Object>>
The set of indexed field name and value pairs that define the item to report as active.
| Exception | Condition |
|---|---|
| ArgumentNullException | fields is a nullptr. |
| ItemMetadataNotFoundException | No item was found with the specified index. |
This method notifies DeleteDetector that a set of items was found in the store.
For the implementation that is available through SqlMetadataStore, this method only has to be called on unmodified items because SaveItemMetadata implicitly marks updated items as live.
Show: