TargetedContentSubscription Klasse

Definition

Stellt ein Subscription-Objekt dar.

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
Vererbung
Object Platform::Object IInspectable TargetedContentSubscription
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Services.TargetedContent.TargetedContentContract (eingeführt in v1.0)
App-Funktionen
secondaryAuthenticationFactor targetedContent

Eigenschaften

Id

Ruft die ID eines Abonnements ab.

Methoden

GetAsync(String)

Gibt ein TargetedContentContainer-Objekt für eine subscriptionID zurück.

GetContentContainerAsync()

Gibt ein TargetedContentContainer-Objekt für eine TargetedContentSubscription zurück.

GetOptions(String)

Ruft ein Objekt für TargetedContentSubscriptionOptions für ein bestimmtes Abonnement ab.

Ereignisse

AvailabilityChanged

Tritt auf, wenn sich die Verfügbarkeit des Inhalts ändert, der der TargetedContentSubscription zugeordnet ist.

ContentChanged

Tritt auf, wenn sich der Inhalt in diesem Abonnement ändert.

StateChanged

Das Ereignis wird aufgerufen, wenn sich der Status "TargetedContentSubscription" geändert hat.

Gilt für: