语言

ContentDeferral 类

定义

为 ContentIsland 中的状态更改延迟提供支持。

public ref class ContentDeferral sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContentDeferral final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContentDeferral
Public NotInheritable Class ContentDeferral
继承
Object Platform::Object IInspectable ContentDeferral
属性

注解

在某些情况下(例如 ContentIsland 连接到其他 ContentSite 时),ContentDeferral 将自动取消。

注释

此对象具有线程相关性,需要在所有者的 UI 线程上完成(与 Deferral 不同)。

有关延迟的详细信息,请参阅 异步工作和延迟。

方法

名称 说明
Complete()

结束延迟,并允许 ContentIsland 中的状态更改继续。

适用于

另请参阅