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

Applies to Windows and Windows Phone

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

Syntax


public enum CoreProcessEventsOption

Attributes

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

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

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

See also

CoreDispatcher.ProcessEvents
CoreWindow

 

 

Show:
© 2014 Microsoft