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.

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

Syntax

'Declaration
Public MustOverride Sub ReportLiveItemByIndexedField ( _
    fieldName As String, _
    fieldValue As Object _
)
'Usage
Dim instance As DeleteDetector
Dim fieldName As String
Dim fieldValue As Object

instance.ReportLiveItemByIndexedField(fieldName, _
    fieldValue)
public abstract void ReportLiveItemByIndexedField(
    string fieldName,
    Object fieldValue
)
public:
virtual void ReportLiveItemByIndexedField(
    String^ fieldName, 
    Object^ fieldValue
) abstract
abstract ReportLiveItemByIndexedField : 
        fieldName:string * 
        fieldValue:Object -> unit 
public abstract function ReportLiveItemByIndexedField(
    fieldName : String, 
    fieldValue : Object
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

fieldName is a null reference (Nothing in Visual Basic) or fieldValue is a null reference (Nothing in Visual Basic).

ArgumentException

fieldName is 0 length.

ItemMetadataNotFoundException

No item was found with the specified index.

Remarks

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.

See Also

Reference

DeleteDetector Class

Microsoft.Synchronization.MetadataStorage Namespace