TargetedContentChangedEventArgs 类

定义

表示 TargetedContentSubscription.ContentChanged Content Changed 事件的参数。

public ref class TargetedContentChangedEventArgs 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 TargetedContentChangedEventArgs 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 TargetedContentChangedEventArgs
Public NotInheritable Class TargetedContentChangedEventArgs
继承
Object Platform::Object IInspectable TargetedContentChangedEventArgs
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Services.TargetedContent.TargetedContentContract (在 v1.0 中引入)
应用功能
secondaryAuthenticationFactor targetedContent

属性

HasPreviousContentExpired

获取一个布尔值,该值指示此事件的先前内容是否已过期。

方法

GetDeferral()

获取延迟。 对于异步处理程序是必需的。 当处理事件时,调用方负责调用 Complete。

适用于