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
abstract ReportLiveItemByIndexedFields :
fields:IEnumerable<KeyValuePair<string, Object>> -> unit
public abstract function ReportLiveItemByIndexedFields(
fields : IEnumerable<KeyValuePair<String, Object>>
)
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.
Exceptions
Exception | 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.