Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.11 KB

applicationviewswitcher_switchasync_1398322393.md

File metadata and controls

36 lines (21 loc) · 1.11 KB
-api-id -api-type
M:Windows.UI.ViewManagement.ApplicationViewSwitcher.SwitchAsync(System.Int32)
winrt method

Windows.UI.ViewManagement.ApplicationViewSwitcher.SwitchAsync

-description

Visually switches the calling window (app view) to another window.

-parameters

-param viewId

The ID of the window under preparation for display.

-returns

The asynchronous results of the operation. Use this to determine when the async call is complete.

-remarks

This method can only be called from the Application Single-Threaded Apartment (ASTA) thread of the calling, currently displayed window (core UI).

Unlike SwitchAsync(System.Int32 toViewId, System.Int32 fromViewId), this method infers fromViewId through the call from the ASTA thread.

-examples

-see-also

SwitchAsync(Int32, Int32), SwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)