Dela via


ESimProfileMetadata.DenyInstallAsync Method

Definition

Asynchronously denies installation of the profile. The profile is revoked at the profile server.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

public:
 virtual IAsyncOperation<ESimOperationResult ^> ^ DenyInstallAsync() = DenyInstallAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ESimOperationResult> DenyInstallAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ESimOperationResult> DenyInstallAsync();
function denyInstallAsync()
Public Function DenyInstallAsync () As IAsyncOperation(Of ESimOperationResult)

Returns

An asynchronous deny-installation operation. On successful completion, contains an ESimOperationResult object representing the result of the deny-installation operation.

Attributes

Windows requirements

App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Applies to