FeedSyncServices Constructor (SyncIdFormatGroup, SyncId, FeedIdConverter)

Initializes a new instance of the FeedSyncServices class that contains the specified ID format schema, replica ID, and ID converter.

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

public:
FeedSyncServices(
	SyncIdFormatGroup^ idFormats, 
	SyncId^ localEndpointId, 
	FeedIdConverter^ idConverter
)

Parameters

idFormats
Type: Microsoft.Synchronization::SyncIdFormatGroup
The ID format schema of the provider.
localEndpointId
Type: Microsoft.Synchronization::SyncId
The replica ID that is associated with the FeedSync feed.
idConverter
Type: Microsoft.Synchronization.FeedSync::FeedIdConverter
A converter to translate IDs between the FeedSync XML format and the provider format.

ExceptionCondition
ArgumentNullException

idFormats or localEndpointId is a nullptr.

ArgumentException

idFormats or localEndpointId are fixed length.

SyncIdFormatMismatchException
  • idFormats contains invalid parameters,

  • idFormats's replica ID or item ID do not form valid parameter pairs or are not variable length,

    —or—

  • idFormats's replica ID is not a valid ID.

Show: