UserDataAvailabilityStateChangedEventArgs 类

定义

包含有关 UserDataAvailabilityStateChangedEvent 的信息。

public ref class UserDataAvailabilityStateChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UserDataAvailabilityStateChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class UserDataAvailabilityStateChangedEventArgs
Public NotInheritable Class UserDataAvailabilityStateChangedEventArgs
继承
Object Platform::Object IInspectable UserDataAvailabilityStateChangedEventArgs
属性

Windows 要求

设备系列
Windows 10, version 1903 (在 10.0.18362.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v8.0 中引入)

方法

GetDeferral()

返回一个 Deferral 对象,该对象可用于阻止在用于注册事件的 UserDataProtectionManager 对象上传递的未来事件。 调用方可以在 Deferral 对象上调用“Complete”方法,以取消阻止将来的事件。

适用于