Share via


TargetedContentSubscription クラス

定義

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
継承
Object Platform::Object IInspectable TargetedContentSubscription
属性

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Services.TargetedContent.TargetedContentContract (v1.0 で導入)
アプリの機能
secondaryAuthenticationFactor targetedContent

プロパティ

Id

サブスクリプションの ID を取得します。

メソッド

GetAsync(String)

subscriptionID の TargetedContentContainer オブジェクトを返します。

GetContentContainerAsync()

TargetedContentSubscription の TargetedContentContainer オブジェクトを返します。

GetOptions(String)

特定のサブスクリプションの TargetedContentSubscriptionOptions へのオブジェクトを取得します。

イベント

AvailabilityChanged

TargetedContentSubscription に関連付けられているコンテンツの可用性が変更されたときに発生します。

ContentChanged

このサブスクリプションのコンテンツが変更されたときに発生します。

StateChanged

TargetedContentSubscription 状態が変更されたときに呼び出されるイベント。

適用対象