Share via


FeedIdConverter.ConvertReplicaIdToString Method

When overridden in a derived class, converts a replica ID to the FeedSync format.

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

Syntax

'Declaration
Public MustOverride Function ConvertReplicaIdToString ( _
    replicaId As SyncId _
) As String
'Usage
Dim instance As FeedIdConverter
Dim replicaId As SyncId
Dim returnValue As String

returnValue = instance.ConvertReplicaIdToString(replicaId)
public abstract string ConvertReplicaIdToString(
    SyncId replicaId
)
public:
virtual String^ ConvertReplicaIdToString(
    SyncId^ replicaId
) abstract
abstract ConvertReplicaIdToString : 
        replicaId:SyncId -> string 
public abstract function ConvertReplicaIdToString(
    replicaId : SyncId
) : String

Parameters

Return Value

Type: System.String
The replica ID in the FeedSync format.

Remarks

Notes to Implementers

If replicaId is an anonymous replica ID, this method must return a null reference (Nothing in Visual Basic). An anonymous replica ID is used when a FeedSync item history element does not have a by attribute. An anonymous replica ID is created by using GenerateAnonymousReplicaId.

See Also

Reference

FeedIdConverter Class

Microsoft.Synchronization.FeedSync Namespace