Share via


StoreQueueItem.CancelInstallAsync Method

Definition

Cancels the install for the current package in the queue.

public:
 virtual IAsyncAction ^ CancelInstallAsync() = CancelInstallAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction CancelInstallAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction CancelInstallAsync();
function cancelInstallAsync()
Public Function CancelInstallAsync () As IAsyncAction

Returns

The object that is used to control the asynchronous operation.

Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Services.Store.StoreContract (introduced in v4.0)

Remarks

To resume the install for the current package in the queue, use ResumeInstallAsync.

Applies to

See also