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 상태가 변경되었을 때 호출되는 이벤트입니다.

적용 대상