Dela via


FeedSyncServices.LoadFeed Method

Loads a FeedSync feed from a stream.

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

Syntax

'Declaration
Public Sub LoadFeed ( _
    feedStream As Stream _
)
'Usage
Dim instance As FeedSyncServices
Dim feedStream As Stream

instance.LoadFeed(feedStream)
public void LoadFeed(
    Stream feedStream
)
public:
void LoadFeed(
    Stream^ feedStream
)
member LoadFeed : 
        feedStream:Stream -> unit 
public function LoadFeed(
    feedStream : Stream
)

Parameters

  • feedStream
    Type: System.IO.Stream
    A stream that contains the FeedSync feed to load.

Exceptions

Exception Condition
ArgumentNullException

feedStream is a null reference (Nothing in Visual Basic).

Remarks

A valid FeedSync feed must be loaded into the FeedSyncServices object before most other FeedSyncServices methods can be used.

See Also

Reference

FeedSyncServices Class

Microsoft.Synchronization.FeedSync Namespace