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
abstract GenerateAnonymousReplicaId : 
        when:string * 
        sequence:uint32 -> SyncId 
public abstract function GenerateAnonymousReplicaId(
    when : String, 
    sequence : uint
) : SyncId

Parameters

  • when
    Type: System.String
    The value of the when attribute of the FeedSync item.
  • sequence
    Type: System.UInt32
    The value of the sequence attribute of the FeedSync item.

Return Value

Type: Microsoft.Synchronization.SyncId
The anonymous replica ID in the provider format.

See Also

Reference

FeedIdConverter Class

Microsoft.Synchronization.FeedSync Namespace