DeleteDetector::ReportLiveItemById Method

When overridden in a derived class, reports that the specified item is active and should not be considered deleted.

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

public:
virtual void ReportLiveItemById(
	SyncId^ globalId
) abstract

Parameters

globalId
Type: Microsoft.Synchronization::SyncId
The ID of the item to report as active.

ExceptionCondition
ArgumentNullException

globalId is a nullptr.

SyncIdFormatMismatchException

The format of globalId does not match the format that is specified by the ID format schema for the replica.

ItemMetadataNotFoundException

No item was found with the specified ID.

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 live.

Show: