Partilhar via


Construtor FeedConsumer

Inicializa uma nova instância da classe FeedConsumer que contém o provedor, o conversor de IDs e o conversor de itens especificados.

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

Sintaxe

'Declaração
Public Sub New ( _
    storeProvider As KnowledgeSyncProvider, _
    idConverter As FeedIdConverter, _
    itemConverter As FeedItemConverter _
)
'Uso
Dim storeProvider As KnowledgeSyncProvider
Dim idConverter As FeedIdConverter
Dim itemConverter As FeedItemConverter

Dim instance As New FeedConsumer(storeProvider, idConverter, itemConverter)
public FeedConsumer (
    KnowledgeSyncProvider storeProvider,
    FeedIdConverter idConverter,
    FeedItemConverter itemConverter
)
public:
FeedConsumer (
    KnowledgeSyncProvider^ storeProvider, 
    FeedIdConverter^ idConverter, 
    FeedItemConverter^ itemConverter
)
public FeedConsumer (
    KnowledgeSyncProvider storeProvider, 
    FeedIdConverter idConverter, 
    FeedItemConverter itemConverter
)
public function FeedConsumer (
    storeProvider : KnowledgeSyncProvider, 
    idConverter : FeedIdConverter, 
    itemConverter : FeedItemConverter
)

Parâmetros

  • storeProvider
    O provedor que importará os itens do feed.
  • idConverter
    Um conversor que converte IDs de feed no formato esperado pelo provedor.
  • itemConverter
    Um conversor que converte itens de feed no formato esperado pelo provedor.

Consulte também

Referência

Classe FeedConsumer
Membros FeedConsumer
Namespace Microsoft.Synchronization.FeedSync