Share via


AppInstallManager.GetIsApplicableAsync(String, String) Method

Definition

Determines whether the specified app can be installed on the current computer or device.

public:
 virtual IAsyncOperation<bool> ^ GetIsApplicableAsync(Platform::String ^ productId, Platform::String ^ skuId) = GetIsApplicableAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> GetIsApplicableAsync(winrt::hstring const& productId, winrt::hstring const& skuId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> GetIsApplicableAsync(string productId, string skuId);
function getIsApplicableAsync(productId, skuId)
Public Function GetIsApplicableAsync (productId As String, skuId As String) As IAsyncOperation(Of Boolean)

Parameters

productId
String

Platform::String

winrt::hstring

The product ID of the app that this method will check to determine if it can be installed.

skuId
String

Platform::String

winrt::hstring

The SKU ID of the app that this method will check to determine if it can be installed.

Returns

An asynchronous operation that, on successful completion, returns true if the app can be installed; otherwise false.

Attributes

Windows requirements

App capabilities
runFullTrust

Applies to