TargetedContentSubscription Classe

Définition

Représente un objet Subscription.

public ref class TargetedContentSubscription sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.TargetedContent.TargetedContentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TargetedContentSubscription final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.TargetedContent.TargetedContentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TargetedContentSubscription
Public NotInheritable Class TargetedContentSubscription
Héritage
Object Platform::Object IInspectable TargetedContentSubscription
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 Creators Update (introduit dans 10.0.15063.0)
API contract
Windows.Services.TargetedContent.TargetedContentContract (introduit dans v1.0)
Fonctionnalités de l’application
secondaryAuthenticationFactor targetedContent

Propriétés

Id

Obtient l’ID d’un abonnement.

Méthodes

GetAsync(String)

Renvoie un objet TargetedContentContainer pour un subscriptionID.

GetContentContainerAsync()

Renvoie un objet TargetedContentContainer pour un TargetedContentSubscription.

GetOptions(String)

Obtient un objet vers TargetedContentSubscriptionOptions pour un abonnement donné.

Événements

AvailabilityChanged

Se produit lorsque la disponibilité du contenu associé à TargetedContentSubscription change.

ContentChanged

Se produit lorsque le contenu de cet abonnement change.

StateChanged

Événement appelé lorsque l’état de TargetedContentSubscription a changé.

S’applique à