共用方式為


AppWindow.TryCreateAsync 方法

定義

嘗試以非同步方式建立 AppWindow 的新實例。

public:
 static IAsyncOperation<AppWindow ^> ^ TryCreateAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<AppWindow> TryCreateAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<AppWindow> TryCreateAsync();
function tryCreateAsync()
Public Shared Function TryCreateAsync () As IAsyncOperation(Of AppWindow)

傳回

已成功建立 AppWindow 的新實例。

屬性

適用於