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)
Syntax
'Declaration
Public MustOverride Sub ReportLiveItemById ( _
globalId As SyncId _
)
'Usage
Dim instance As DeleteDetector
Dim globalId As SyncId
instance.ReportLiveItemById(globalId)
public abstract void ReportLiveItemById(
SyncId globalId
)
public:
virtual void ReportLiveItemById(
SyncId^ globalId
) abstract
abstract ReportLiveItemById :
globalId:SyncId -> unit
public abstract function ReportLiveItemById(
globalId : SyncId
)
Parameters
- globalId
Type: Microsoft.Synchronization.SyncId
The ID of the item to report as active.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | globalId is a null reference (Nothing in Visual Basic). |
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. |
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 live.