AppWindow.TryCreateAsync Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to asynchronously create a new instance of AppWindow.
public:
static IAsyncOperation<AppWindow ^> ^ TryCreateAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<AppWindow> TryCreateAsync();
C#
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<AppWindow> TryCreateAsync();
function tryCreateAsync()
Public Shared Function TryCreateAsync () As IAsyncOperation(Of AppWindow)
The new instance of AppWindow if it was created successfully.
- Attributes
Product | Versions |
---|---|
WinRT | Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |