Dela via


AppWindow.TryShowAsync Method

Definition

Attempts to asynchronously show the current app window.

public:
 virtual IAsyncOperation<bool> ^ TryShowAsync() = TryShowAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryShowAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryShowAsync();
function tryShowAsync()
Public Function TryShowAsync () As IAsyncOperation(Of Boolean)

Returns

true if the window was shown successfully; otherwise, false.

Attributes

Applies to