DispatcherRunOptions Enum

Definition

Defines constants that specify options related to the quit message when running a message loop.

This enumeration supports a bitwise combination of its member values.

public enum class DispatcherRunOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
enum class DispatcherRunOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
public enum DispatcherRunOptions
var value = Microsoft.UI.Dispatching.DispatcherRunOptions.none
Public Enum DispatcherRunOptions
Inheritance
DispatcherRunOptions
Attributes

Fields

Name Value Description
None 0

Specifies no option.

ContinueOnQuit 1

Specifies that the message loop should continue on quit.

QuitOnlyLocalLoop 2

Specifies that only the local message loop should cease on quit.

Applies to