Udostępnij za pośrednictwem


FeedProducer Constructor

Initializes a new instance of the FeedProducer class that contains the specified synchronization provider, ID converter, and item converter.

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

Syntax

'Declaration
Public Sub New ( _
    storeProvider As KnowledgeSyncProvider, _
    idConverter As FeedIdConverter, _
    itemConverter As FeedItemConverter _
)
'Usage
Dim storeProvider As KnowledgeSyncProvider
Dim idConverter As FeedIdConverter
Dim itemConverter As FeedItemConverter

Dim instance As New FeedProducer(storeProvider, idConverter, itemConverter)
public FeedProducer (
    KnowledgeSyncProvider storeProvider,
    FeedIdConverter idConverter,
    FeedItemConverter itemConverter
)
public:
FeedProducer (
    KnowledgeSyncProvider^ storeProvider, 
    FeedIdConverter^ idConverter, 
    FeedItemConverter^ itemConverter
)
public FeedProducer (
    KnowledgeSyncProvider storeProvider, 
    FeedIdConverter idConverter, 
    FeedItemConverter itemConverter
)
public function FeedProducer (
    storeProvider : KnowledgeSyncProvider, 
    idConverter : FeedIdConverter, 
    itemConverter : FeedItemConverter
)

Parameters

  • storeProvider
    The provider that exports the data to produce as a FeedSync feed.
  • idConverter
    A converter that is used to translate IDs from the provider format to the FeedSync format.
  • itemConverter
    A converter that is used to translate items from the provider format to the FeedSync format.

See Also

Reference

FeedProducer Class
FeedProducer Members
Microsoft.Synchronization.FeedSync Namespace