Share via


FeedIdConverter.GenerateAnonymousReplicaId Method

When overridden in a derived class, generates an anonymous replica ID for an item that does not contain a by value.

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

Syntax

'Declaration
Public MustOverride Function GenerateAnonymousReplicaId ( _
    when As String, _
    sequence As UInteger _
) As SyncId
'Usage
Dim instance As FeedIdConverter
Dim when As String
Dim sequence As UInteger
Dim returnValue As SyncId

returnValue = instance.GenerateAnonymousReplicaId(when, sequence)
public abstract SyncId GenerateAnonymousReplicaId (
    string when,
    uint sequence
)
public:
virtual SyncId^ GenerateAnonymousReplicaId (
    String^ when, 
    unsigned int sequence
) abstract
public abstract SyncId GenerateAnonymousReplicaId (
    String when, 
    UInt32 sequence
)
public abstract function GenerateAnonymousReplicaId (
    when : String, 
    sequence : uint
) : SyncId

Parameters

  • when
    The value of the when attribute of the FeedSync item.
  • sequence
    The value of the sequence attribute of the FeedSync item.

Return Value

The anonymous replica ID in the provider format.

See Also

Reference

FeedIdConverter Class
FeedIdConverter Members
Microsoft.Synchronization.FeedSync Namespace