-api-id | -api-type |
---|---|
M:Windows.UI.ViewManagement.ApplicationViewSwitcher.SwitchAsync(System.Int32) |
winrt method |
Visually switches the calling window (app view) to another window.
The ID of the window under preparation for display.
The asynchronous results of the operation. Use this to determine when the async call is complete.
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.
SwitchAsync(Int32, Int32), SwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)