Share via


DispatcherExitDeferral Class

Definition

Represents an object that your app can use to defer a DispatcherQueue from exiting.

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
Inheritance
Object Platform::Object IInspectable DispatcherExitDeferral
Attributes

Constructors

DispatcherExitDeferral()

Creates a new instance of DispatcherExitDeferral.

Methods

Complete()

Called by your app to notify that it has finished processing the notification, and the DispatcherQueue can now exit.

Applies to