ApplicationDeployment.CheckForUpdateAsyncCancel Method

Definition

Cancels the asynchronous update check.

C#
public void CheckForUpdateAsyncCancel ();

Remarks

Use this method to cancel an update check initiated with the CheckForUpdateAsync method.

This method will not cancel any background update that may already be in progress, such as an update started as part of a subscription. For more information about subscriptions, see Choosing a ClickOnce Update Strategy.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1