HostedViewClosingEventArgs 类

定义

提供在 HostedViewClosing 事件触发时可以调用的延迟,以延迟托管视图的拆解。

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

Windows 要求

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

方法

GetDeferral()

为托管窗口方案提供了一个机会,以延迟拆分托管视图的窗口、调度程序和应用程序Single-Threaded单元 (ASTA) 线程。

适用于