Share via


EndpointState.LoadFrom Method (Stream, FeedIdConverter)

Loads the endpoint state from the specified FeedSync feed.

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

Syntax

'Declaration
Public Sub LoadFrom ( _
    feedStream As Stream, _
    idConverter As FeedIdConverter _
)
'Usage
Dim instance As EndpointState
Dim feedStream As Stream
Dim idConverter As FeedIdConverter

instance.LoadFrom(feedStream, idConverter)
public void LoadFrom (
    Stream feedStream,
    FeedIdConverter idConverter
)
public:
void LoadFrom (
    Stream^ feedStream, 
    FeedIdConverter^ idConverter
)
public void LoadFrom (
    Stream feedStream, 
    FeedIdConverter idConverter
)
public function LoadFrom (
    feedStream : Stream, 
    idConverter : FeedIdConverter
)

Parameters

  • feedStream
    The FeedSync stream that contains the endpoint state to load.
  • idConverter
    The converter that is used to convert IDs in the FeedSync feed to the format expected by the provider.

See Also

Reference

EndpointState Class
EndpointState Members
Microsoft.Synchronization.FeedSync Namespace