Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CoreProcessEventsOption enumeration

Specifies the set of exclusive event-processing options passed to ProcessEvents.

Syntax


public enum class CoreProcessEventsOption

Members

The CoreProcessEventsOption enumeration has these members.

MemberValueDescription
ProcessOneAndAllPending0

Dispatch all currently available events in the queue. If no events are pending, wait for the next new event.

ProcessOneIfPresent1

Dispatch one event if it is currently pending in the queue. If no events are pending, do not wait for a new event to be raised but instead return immediately.

ProcessUntilQuit2

Wait for new events and dispatch all available events. Continue this behavior until the window is closed or the application calls the Close method on the CoreWindow instance.

ProcessAllIfPresent3

Dispatch all events currently pending in the queue. If no events are pending, do not wait for a new event to be raised but instead return immediately. This option is provided specifically for view provider implementations with IFrameworkView, and to be used in Windows Store apps using DirectX.

Remarks

Windows Phone 8

ProcessOneIfPresent is not supported on Windows Phone.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]
[WebHostHidden()]

See also

CoreDispatcher.ProcessEvents
CoreWindow

 

 

Show:
© 2015 Microsoft