AppInstallManager.IsStoreBlockedByPolicyAsync(String, String) Method
Definition
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.
Determines whether the specified app is blocked by policy on the current computer or device.
public:
virtual IAsyncOperation<bool> ^ IsStoreBlockedByPolicyAsync(Platform::String ^ storeClientName, Platform::String ^ storeClientPublisher) = IsStoreBlockedByPolicyAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> IsStoreBlockedByPolicyAsync(winrt::hstring const& storeClientName, winrt::hstring const& storeClientPublisher);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> IsStoreBlockedByPolicyAsync(string storeClientName, string storeClientPublisher);
function isStoreBlockedByPolicyAsync(storeClientName, storeClientPublisher)
Public Function IsStoreBlockedByPolicyAsync (storeClientName As String, storeClientPublisher As String) As IAsyncOperation(Of Boolean)
Parameters
- storeClientName
-
String
Platform::String
winrt::hstring
The name of the app that this method will check to determine if is blocked by policy.
- storeClientPublisher
-
String
Platform::String
winrt::hstring
The publisher name of the app that this method will check to determine if is blocked by policy.
Returns
An asynchronous operation that, on successful completion, returns true if the app can be installed; otherwise false.
- Attributes
Windows requirements
App capabilities |
runFullTrust
|