共用方式為


ContentDialogClosingDeferral 類別

定義

表示應用程式可用來以異步方式回應 ContentDialog 關閉事件的延遲。

public ref class ContentDialogClosingDeferral sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContentDialogClosingDeferral final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContentDialogClosingDeferral
Public NotInheritable Class ContentDialogClosingDeferral
繼承
Object Platform::Object IInspectable ContentDialogClosingDeferral
屬性

備註

您可以呼叫 ContentDialogClosingEventArgs.GetDeferral 來取得此類別的實例。

方法

Complete()

通知系統應用程式已完成處理關閉事件。

適用於