FeedIdConverter Class

When overridden, represents an object that can translate between IDs in the FeedSync format and IDs in the provider format.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.FeedSync.FeedIdConverter

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

Syntax

'Declaration
Public MustInherit Class FeedIdConverter
'Usage
Dim instance As FeedIdConverter
public abstract class FeedIdConverter
public ref class FeedIdConverter abstract
[<AbstractClassAttribute>]
type FeedIdConverter =  class end
public abstract class FeedIdConverter

The FeedIdConverter type exposes the following members.

Constructors

  Name Description
Protected method FeedIdConverter Initializes a new instance of the FeedIdConverter class.

Top

Properties

  Name Description
Public property IdFormats When overridden in a derived class, gets the format schema for the IDs that can be converted.

Top

Methods

  Name Description
Public method ConvertItemIdToString When overridden in a derived class, converts an item ID to the FeedSync format.
Public method ConvertReplicaIdToString When overridden in a derived class, converts a replica ID to the FeedSync format.
Public method ConvertStringToItemId When overridden in a derived class, converts an item ID from the FeedSync format to the provider format.
Public method ConvertStringToReplicaId When overridden in a derived class, converts a replica ID from the FeedSync format to the provider format.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GenerateAnonymousReplicaId When overridden in a derived class, generates an anonymous replica ID for an item that does not contain a by value.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Because providers can represent IDs in any format, Sync Framework requires that a user application or provider implement FeedIdConverter to enable IDs to be stored as FeedSync metadata.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Synchronization.FeedSync Namespace