ApplicationViewSwitcher.SwitchAsync ApplicationViewSwitcher.SwitchAsync ApplicationViewSwitcher.SwitchAsync ApplicationViewSwitcher.SwitchAsync ApplicationViewSwitcher.SwitchAsync Method

Definition

Overloads

SwitchAsync(Int32) SwitchAsync(Int32) SwitchAsync(Int32) SwitchAsync(Int32) SwitchAsync(Int32)

Visually replaces the calling window (app view) with a specified window.

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

Visually replaces the calling window (app view) with a specified window.

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

Visually replaces the calling window (app view) with a specified window.

SwitchAsync(Int32) SwitchAsync(Int32) SwitchAsync(Int32) SwitchAsync(Int32) SwitchAsync(Int32)

Visually replaces the calling window (app view) with a specified window.

public : static IAsyncAction SwitchAsync(int viewId)
static IAsyncAction SwitchAsync(int32_t viewId) const;
public static IAsyncAction SwitchAsync(Int32 viewId)
Public Shared Function SwitchAsync(viewId As Int32) As IAsyncAction
Windows.UI.ViewManagement.ApplicationViewSwitcher.switchAsync(viewId).done( /* Your success and error handlers */ );
Parameters
viewId
Int32 Int32 Int32

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 ASTA (core UI) thread of the calling, currently displayed window.

See Also

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

Visually replaces the calling window (app view) with a specified window.

public : static IAsyncAction SwitchAsync(int toViewId, int fromViewId)
static IAsyncAction SwitchAsync(int32_t toViewId, int32_t fromViewId) const;
public static IAsyncAction SwitchAsync(Int32 toViewId, Int32 fromViewId)
Public Shared Function SwitchAsync(toViewId As Int32, fromViewId As Int32) As IAsyncAction
Windows.UI.ViewManagement.ApplicationViewSwitcher.switchAsync(toViewId, fromViewId).done( /* Your success and error handlers */ );
Parameters
toViewId
Int32 Int32 Int32

The ID of the window under preparation for display.

fromViewId
Int32 Int32 Int32

The ID of the calling, currently displayed window.

Returns

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

See Also

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

Visually replaces the calling window (app view) with a specified window.

public : static IAsyncAction SwitchAsync(int toViewId, int fromViewId, ApplicationViewSwitchingOptions options)
static IAsyncAction SwitchAsync(int32_t toViewId, int32_t fromViewId, ApplicationViewSwitchingOptions options) const;
public static IAsyncAction SwitchAsync(Int32 toViewId, Int32 fromViewId, ApplicationViewSwitchingOptions options)
Public Shared Function SwitchAsync(toViewId As Int32, fromViewId As Int32, options As ApplicationViewSwitchingOptions) As IAsyncAction
Windows.UI.ViewManagement.ApplicationViewSwitcher.switchAsync(toViewId, fromViewId, options).done( /* Your success and error handlers */ );
Parameters
toViewId
Int32 Int32 Int32

The ID of the window under preparation for display.

fromViewId
Int32 Int32 Int32

The ID of the calling, currently displayed window.

Returns

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

See Also