CoreDispatcher.ProcessEvents Method

Starts the dispatcher processing the input event queue for this instance of CoreWindow.

Syntax

public:
void ProcessEvents(
         CoreProcessEventsOption options
)  

Parameters

options
Type: CoreProcessEventsOption 

The options for processing window events.

Remarks

This method is called from the main app loop defined in the IFrameworkView::Run method you implemented on your view provider. Typically, you call it once on each iteration of the loop. If you are creating a shared app, call this method with CoreProcessEventsOption::ProcessAllIfPresent.

Requirements

Namespace: Windows.UI.Core

Metadata: windows.winmd

See also

Reference

CoreDispatcher Class

CoreDispatcher Members

Windows.UI.Core Namespace