Click or drag to resize
UpdateController Methods

The UpdateController type exposes the following members.

Methods
  NameDescription
Public methodApplyUpdate
Applies the downloaded update represented by CurrentUpdate. If the update is applied, the application will shut down. If EnableAutoChaining is , applies all chained updates in sequence.
Public methodApplyUpdate(ApplyUpdateOptions)
Applies the downloaded update represented by CurrentUpdate. If the update is applied, the application will shut down. If EnableAutoChaining is , applies all chained updates in sequence.
Public methodApplyUpdate(ApplyUpdateOptions, IDictionary)
Applies the downloaded update represented by CurrentUpdate. If the update is applied, the application will shut down. If EnableAutoChaining is , applies all chained updates in sequence.
Public methodCancelAsync
Public methodCheckForUpdate
Searches for an available update. If an update is found, its information can be retrieved from CurrentUpdate.
Public methodCheckForUpdateAsync
Searches for an available update. If an update is found, its information can be retrieved from CurrentUpdate. This method does not block the calling thread.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides ComponentDispose(Boolean).)
Public methodDownloadUpdate
Downloads the update represented by CurrentUpdate, or, if EnableAutoChaining is , every update in the update chain.
Public methodDownloadUpdateAsync
Downloads the update represented by CurrentUpdate, or, if EnableAutoChaining is , every update in the update chain. This method does not block the calling thread.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUpdateChain
Gets an array of UpdateInformation corresponding to all updates in the current chain.
Public methodStatic memberGetUpdateHistory
Gets a collection of LoggedUpdate objects representing past updates applied for the specified application ID. The information is retrieved by reading update log files.
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnCheckForUpdateCompleted
Raises the CheckForUpdateCompleted event.
Protected methodOnDownloadUpdateCompleted
Raises the DownloadUpdateCompleted event.
Protected methodOnDownloadUpdateProgressChanged
Raises the DownloadUpdateProgressChanged event.
Protected methodOnShutdownRequested
Raises the ShutdownRequested event.
Protected methodOnUpdateDialogShowing
Raises the UpdateDialogShowing event.
Protected methodOnUpdateFound
Raises the UpdateFound event.
Protected methodOnUpdateStarting
Raises the UpdateStarting event.
Public methodOverrideAssemblyLocation
Specifies a different assembly location for this application in order to allow the controller to apply updates on behalf of another application.
Public methodOverrideHostProcessInfo Obsolete.
Overrides the host process information to allow the controller to apply updates on behalf of another application
Public methodReadLastUpdateInformation
Gets information about the last update applied for this application ID.
Public methodSaveUpdatesToLocal
Saves the current update and any chainable updates that have been downloaded to a local folder.
Public methodShowCheckForUpdateDialog
Searches for an available update while showing a modal dialog to the user.
Public methodShowCheckForUpdateDialog(IWin32Window)
Searches for an available update while showing a modal dialog to the user in front of the specified object.
Public methodShowCheckForUpdateDialog(ErrorDisplayLevel)
Searches for an available update while showing a modal dialog to the user that can show the specified amount of error information.
Public methodShowCheckForUpdateDialog(IWin32Window, ErrorDisplayLevel)
Searches for an available update while showing a modal dialog to the user that can show the specified amount of error information in front of the specified object.
Public methodShowDownloadUpdateDialog
Downloads the update represented by CurrentUpdate while showing a modal dialog to the user.
Public methodShowDownloadUpdateDialog(IWin32Window)
Downloads the update represented by CurrentUpdate while showing a modal dialog to the user in front of the specified object.
Public methodShowDownloadUpdateDialog(ErrorDisplayLevel)
Downloads the update represented by CurrentUpdate while showing a modal dialog to the user that can show the specified amount of error information.
Public methodShowDownloadUpdateDialog(IWin32Window, ErrorDisplayLevel)
Downloads the update represented by CurrentUpdate while showing a modal dialog to the user that can show the specified amount of error information in front of the specified object.
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Public methodUpdateInteractive
Uses built-in dialogs to walk the user through an entire update process.
Public methodUpdateInteractive(IWin32Window)
Uses built-in dialogs to walk the user through an entire update process. The dialogs will be shown in front of the specified object.
Public methodUpdateInteractive(ApplyUpdateOptions)
Uses built-in dialogs to walk the user through an entire update process. The dialogs will be shown in front of the specified object.
Public methodUpdateInteractive(ErrorDisplayLevel)
Uses built-in dialogs to walk the user through an entire update process, showing the specified amount of information about any error that occurs.
Public methodUpdateInteractive(IWin32Window, ErrorDisplayLevel)
Uses built-in dialogs to walk the user through an entire update process, showing the specified amount of information about any error that occurs. The dialogs will be shown in front of the specified object.
Public methodUpdateInteractive(IWin32Window, ErrorDisplayLevel, ApplyUpdateOptions)
Uses built-in dialogs to walk the user through an entire update process, showing the specified amount of information about any error that occurs. The dialogs will be shown in front of the specified object.
Public methodUpdateInteractive(IWin32Window, ErrorDisplayLevel, ApplyUpdateOptions, IDictionary)
Uses built-in dialogs to walk the user through an entire update process, showing the specified amount of information about any error that occurs. The dialogs will be shown in front of the specified object.
Public methodValidateUpdate
Validates the downloaded update represented by CurrentUpdate, or, if EnableAutoChaining is , every update in the update chain.
Top
See Also