Share via


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.

Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)

Syntax

'Declaration
Public MustOverride Sub ReportLiveItemByIndexedFields ( _
    fields As IEnumerable(Of KeyValuePair(Of String, Object)) _
)
'Usage
Dim instance As DeleteDetector
Dim fields As IEnumerable(Of KeyValuePair(Of String, Object))

instance.ReportLiveItemByIndexedFields(fields)
public abstract void ReportLiveItemByIndexedFields (
    IEnumerable<KeyValuePair<string,Object>> fields
)
public:
virtual void ReportLiveItemByIndexedFields (
    IEnumerable<KeyValuePair<String^, Object^>>^ fields
) abstract
public abstract void ReportLiveItemByIndexedFields (
    IEnumerable<KeyValuePair<String,Object>> fields
)
public abstract function ReportLiveItemByIndexedFields (
    fields : IEnumerable<KeyValuePair<String,Object>>
)

Parameters

  • fields
    The set of indexed field name and value pairs that define the item to report as active.

Exceptions

Exception type Condition

ArgumentNullException

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

ItemMetadataNotFoundException

No item was found with the specified index.

Remarks

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.

See Also

Reference

DeleteDetector Class
DeleteDetector Members
Microsoft.Synchronization.MetadataStorage Namespace