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()

通知系统应用已完成处理关闭事件。

适用于