Share via


AnchorEnumerationContext.ReportItemsAndAutodetectDeletes Method

Reports item changes, including deletes, when a full enumeration of a replica is required by an anchor-based provider.

Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in microsoft.synchronization.simpleproviders.dll)

Syntax

'Declaration
Public Sub ReportItemsAndAutodetectDeletes ( _
    items As IEnumerable(Of ItemFieldDictionary), _
    updatedAnchor As Byte() _
)
'Usage
Dim instance As AnchorEnumerationContext
Dim items As IEnumerable(Of ItemFieldDictionary)
Dim updatedAnchor As Byte()

instance.ReportItemsAndAutodetectDeletes(items, updatedAnchor)
public void ReportItemsAndAutodetectDeletes (
    IEnumerable<ItemFieldDictionary> items,
    byte[] updatedAnchor
)
public:
void ReportItemsAndAutodetectDeletes (
    IEnumerable<ItemFieldDictionary^>^ items, 
    array<unsigned char>^ updatedAnchor
)
public void ReportItemsAndAutodetectDeletes (
    IEnumerable<ItemFieldDictionary> items, 
    byte[] updatedAnchor
)
public function ReportItemsAndAutodetectDeletes (
    items : IEnumerable<ItemFieldDictionary>, 
    updatedAnchor : byte[]
)

Parameters

  • updatedAnchor
    A byte array that represents an enumeration anchor, such as a timestamp.

Exceptions

Exception type Condition

SimpleProviderInvalidOperationException

ReportChanges was called in the same session.

See Also

Reference

AnchorEnumerationContext Class
AnchorEnumerationContext Members
Microsoft.Synchronization.SimpleProviders Namespace