Dela via


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)

Syntax

'Declaration
Public Sub New ( _
    idFormats As SyncIdFormatGroup, _
    localEndpointId As SyncId, _
    idConverter As FeedIdConverter _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim localEndpointId As SyncId
Dim idConverter As FeedIdConverter

Dim instance As New FeedSyncServices(idFormats, _
    localEndpointId, idConverter)
public FeedSyncServices(
    SyncIdFormatGroup idFormats,
    SyncId localEndpointId,
    FeedIdConverter idConverter
)
public:
FeedSyncServices(
    SyncIdFormatGroup^ idFormats, 
    SyncId^ localEndpointId, 
    FeedIdConverter^ idConverter
)
new : 
        idFormats:SyncIdFormatGroup * 
        localEndpointId:SyncId * 
        idConverter:FeedIdConverter -> FeedSyncServices
public function FeedSyncServices(
    idFormats : SyncIdFormatGroup, 
    localEndpointId : SyncId, 
    idConverter : FeedIdConverter
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

idFormats or localEndpointId is a null reference (Nothing in Visual Basic).

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.

See Also

Reference

FeedSyncServices Class

FeedSyncServices Overload

Microsoft.Synchronization.FeedSync Namespace