SuspendingDeferral 类

定义

管理应用的延迟挂起。 GetDeferral

public ref class SuspendingDeferral sealed : ISuspendingDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class SuspendingDeferral final : ISuspendingDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class SuspendingDeferral : ISuspendingDeferral
Public NotInheritable Class SuspendingDeferral
Implements ISuspendingDeferral
继承
Object Platform::Object IInspectable SuspendingDeferral
属性
实现

Windows 要求

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

注解

注意

此类不敏捷,这意味着需要考虑其线程模型和封送处理行为。 有关详细信息,请参阅 线程处理和封送处理 (C++/CX)

方法

Complete()

通知系统应用已保存其数据,并已准备好暂停。

适用于

另请参阅