FeedManager Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit des méthodes permettant aux fournisseurs de flux de gérer et de interroger des flux.
public ref class FeedManager sealed : IFeedManager, IFeedManager2
public ref class FeedManager sealed : IFeedManager, IFeedManager2, IFeedManager3
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FeedManager final : IFeedManager, IFeedManager2
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FeedManager final : IFeedManager, IFeedManager2, IFeedManager3
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FeedManager : IFeedManager, IFeedManager2
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FeedManager : IFeedManager, IFeedManager2, IFeedManager3
Public NotInheritable Class FeedManager
Implements IFeedManager, IFeedManager2
Public NotInheritable Class FeedManager
Implements IFeedManager, IFeedManager2, IFeedManager3
- Héritage
- Attributs
- Implémente
Remarques
Obtenir une instance de cette classe en appelant GetDefault
Méthodes
| Nom | Description |
|---|---|
| GetDefault() |
Obtient l’instance par défaut de FeedManager pour l’application du fournisseur de flux appelant. |
| GetEnabledFeedProviders() |
Obtient une liste d’objets FeedProviderInfo représentant les fournisseurs de flux activés associés à l’application du fournisseur de flux appelant. |
| SendMessageToContent(String, String, String) |
Envoyez un message de chaîne au contenu web d’un flux affiché dans l’hôte de flux. |
| SetCustomQueryParameters(CustomQueryParametersUpdateOptions) |
Définit les paramètres de requête passés à l’URI du fournisseur de flux distant lorsque le Widgets Board demande du contenu de flux. Cela permet des scénarios tels que le passage de jetons d’authentification au service distant. |
| TryRemoveAnnouncementById(String, String, String) |
Demande qu’une annonce soit supprimée de l’hôte de flux. |
| TryShowAnnouncement(String, String, FeedAnnouncement) |
Demande qu’une annonce soit affichée dans la barre des tâches. L’hôte de flux peut ou non afficher cette annonce, en fonction de ses stratégies. Si l’utilisateur interagit avec l’annonce, la méthode OnAnnouncementInvoked du fournisseur de flux est appelée. |