共用方式為


SuspendingOperation 類別

定義

提供應用程式暫停作業的相關資訊。

public ref class SuspendingOperation sealed : ISuspendingOperation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SuspendingOperation final : ISuspendingOperation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SuspendingOperation : ISuspendingOperation
Public NotInheritable Class SuspendingOperation
Implements ISuspendingOperation
繼承
Object Platform::Object IInspectable SuspendingOperation
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

Deadline

取得延遲的應用程式暫停作業繼續的時間。

方法

GetDeferral()

要求應用程式暫停作業延遲。

適用於