FeedConsumer::ConsumeFeed Method
Consumes the specified feed and imports the items into the provider that is contained in this object.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Parameters
- feedStream
- Type: System.IO::Stream
A stream that contains the FeedSync feed to be consumed. Sync Framework must have read access to the stream.
Return Value
Type: Microsoft.Synchronization.FeedSync::EndpointStateThe endpoint state of the feed. A nullptr when the feed is empty.
| Exception | Condition |
|---|---|
| ArgumentNullException | feedStream is a nullptr. |
| ArgumentException | feedStream cannot be read or contains no feed items. |
When the returned endpoint state is set as the IncrementalFeedBaseline value for a FeedProducer object, the object will produce an incremental feed that is based on feedStream.
Show: