FeedConsumer Constructor
Initializes a new instance of the FeedConsumer class that contains the specified provider, ID converter, and item converter.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
public:
FeedConsumer(
KnowledgeSyncProvider^ storeProvider,
FeedIdConverter^ idConverter,
FeedItemConverter^ itemConverter
)
Parameters
- storeProvider
- Type: Microsoft.Synchronization::KnowledgeSyncProvider
The provider that will import the feed items.
- idConverter
- Type: Microsoft.Synchronization.FeedSync::FeedIdConverter
A converter that translates feed IDs to the format that the provider expects.
- itemConverter
- Type: Microsoft.Synchronization.FeedSync::FeedItemConverter
A converter that translates feed items to the format that the provider expects.
| Exception | Condition |
|---|---|
| ArgumentNullException | storeProvider, idConverter, or itemConverter is a nullptr. |
Show: