Export (0) Print
Expand All

ApplicationDeployment.CheckForUpdateAsyncCancel Method

Cancels the asynchronous update check.

Namespace:  System.Deployment.Application
Assembly:  System.Deployment (in System.Deployment.dll)

public void CheckForUpdateAsyncCancel()

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft