Sdílet prostřednictvím


FeedConsumer Constructor

Initializes a new instance of the FeedConsumer class that contains the specified 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 FeedConsumer(storeProvider, idConverter, itemConverter)
public FeedConsumer (
    KnowledgeSyncProvider storeProvider,
    FeedIdConverter idConverter,
    FeedItemConverter itemConverter
)
public:
FeedConsumer (
    KnowledgeSyncProvider^ storeProvider, 
    FeedIdConverter^ idConverter, 
    FeedItemConverter^ itemConverter
)
public FeedConsumer (
    KnowledgeSyncProvider storeProvider, 
    FeedIdConverter idConverter, 
    FeedItemConverter itemConverter
)
public function FeedConsumer (
    storeProvider : KnowledgeSyncProvider, 
    idConverter : FeedIdConverter, 
    itemConverter : FeedItemConverter
)

Parameters

  • storeProvider
    The provider that will import the feed items.
  • idConverter
    A converter that translates feed IDs to the format that the provider expects.
  • itemConverter
    A converter that translates feed items to the format that the provider expects.

See Also

Reference

FeedConsumer Class
FeedConsumer Members
Microsoft.Synchronization.FeedSync Namespace