共用方式為


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' 方法,以解除封鎖未來的事件。

適用於