ContactChangedDeferral 类

定义

异步处理 ContactChanged 事件时要使用的延迟对象。

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

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
contactsSystem

注解

调用 GetDeferral 以获取此类的实例。

方法

Complete()

调用此方法以便在所有异步处理完成后释放延迟对象。

适用于