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 Apartment (ASTA) 執行緒的機會。

適用於