FeedProducer.ProduceFeed Method
Produces a FeedSync feed to the specified stream. The feed contains items that are supplied by the associated synchronization provider.
Namespace: Microsoft.Synchronization.FeedSync
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub ProduceFeed ( _
feedStream As Stream _
)
'Usage
Dim instance As FeedProducer
Dim feedStream As Stream
instance.ProduceFeed(feedStream)
public void ProduceFeed(
Stream feedStream
)
public:
void ProduceFeed(
Stream^ feedStream
)
member ProduceFeed :
feedStream:Stream -> unit
public function ProduceFeed(
feedStream : Stream
)
Parameters
- feedStream
Type: System.IO.Stream
The stream that will receive the FeedSync feed. This stream must initially contain an empty RSS or Atom feed. Sync Framework must have read and write access to the stream.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | feedStream is a null reference (Nothing in Visual Basic). |
ArgumentException | feedStream cannot be read from, cannot be written to, or contains no feed items. |
Remarks
This method produces an incremental feed when IncrementalFeedBaseline is not a null reference (Nothing in Visual Basic). Otherwise, a full feed is produced.