WebUpdateController.BeginCheckForUpdate Method
This method starts a CheckForUpdate() operation. The method returns immediately and the proxy updater performs the operation asynchronously. BeginCheckForUpdate() returns an object that can be passed to GetOperationStatus() to retrieve information about the CheckForUpdate() operation. This identity will also be assigned to the UpdateInformation that represents the found update, if one is found. Since multiple WebUpdateControllers can call BeginCheckForUpdate(), each using different properties (such as UpdateLocation), this identity can be used to verify that the UpdateInformation you choose to download is the correct one. Only one asynchronous operation can be in progress at once; until the BeginCheckForUpdate() operation is finished (either CompleteOrUnknown or Failed), BeginCheckForUpdate(), BeginDownloadUpdate(), and BeginApplyUpdate() cannot be called. Use CancelOperation(), passing the identity returned by BeginCheckForUpdate(), to cancel the check.
[Visual Basic]
Public Function BeginCheckForUpdate() As Object
[C#]
public object BeginCheckForUpdate()
Return Value
A unique identity that represents this operation.
See Also
WebUpdateController Class | WebUpdateController Members | Kjs.AppLife.Update.Web Namespace