DispatcherExitDeferral 类

定义

表示应用可用于延迟 DispatcherQueue 退出的对象。

public ref class DispatcherExitDeferral sealed
/// [Windows.Foundation.Metadata.Activatable(65540, "Microsoft.Foundation.WindowsAppSDKContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DispatcherExitDeferral final
[Windows.Foundation.Metadata.Activatable(65540, "Microsoft.Foundation.WindowsAppSDKContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DispatcherExitDeferral
function DispatcherExitDeferral()
Public NotInheritable Class DispatcherExitDeferral
继承
Object Platform::Object IInspectable DispatcherExitDeferral
属性

构造函数

DispatcherExitDeferral()

创建 DispatcherExitDeferral 的新实例。

方法

Complete()

由应用调用以通知它已完成通知处理, 并且 DispatcherQueue 现在可以退出。

适用于