共用方式為


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()

通知系統應用程式已儲存其資料,並準備好暫停。

適用於

另請參閱