DeleteDetector::ReportLiveItemByIndexedField Method
When overridden in a derived class, reports that the item that is identified by the indexed field value is active and should not be considered deleted.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
public: virtual void ReportLiveItemByIndexedField( String^ fieldName, Object^ fieldValue ) abstract
Parameters
- fieldName
- Type: System::String
The name of the indexed field.
- fieldValue
- Type: System::Object
The value of the indexed field.
| Exception | Condition |
|---|---|
| ArgumentNullException | fieldName is a nullptr or fieldValue is a nullptr. |
| ArgumentException | fieldName is 0 length. |
| ItemMetadataNotFoundException | No item was found with the specified index. |
This method notifies DeleteDetector that an item 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 active.
Show: