ContentDeferral 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 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
- 继承
- 属性
注解
在某些情况下(例如 ContentIsland 连接到其他 ContentSite 时),ContentDeferral 将自动取消。
注释
此对象具有线程相关性,需要在所有者的 UI 线程上完成(与 Deferral 不同)。
有关延迟的详细信息,请参阅 异步工作和延迟。
方法
| 名称 | 说明 |
|---|---|
| Complete() |
结束延迟,并允许 ContentIsland 中的状态更改继续。 |