DispatcherQueueShutdownStartingEventArgs 类

定义

提供 ShutdownStarting 事件的参数。

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

方法

GetDeferral()

获取延迟对象,以便可以使用 继续将工作发布到 DispatcherQueue ,直到将延迟标记为完成。

适用于