FeedSyncServices Constructor (SyncIdFormatGroup, SyncId)

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

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

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

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.

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: