Dela via


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)

Syntax

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

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

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