Свойство | Type | Description | |
---|---|---|---|
IsAfterRestart | bool | ||
TaskProgressCallback | void | ||
UpdateManager | System |
Méthode | Description | |
---|---|---|
Abort ( ) : void |
Abort update process, cancelling whatever background process currently taking place without waiting for it to complete
|
|
Abort ( bool waitForTermination ) : void |
Abort update process, cancelling whatever background process currently taking place
|
|
ApplyUpdates ( ) : void |
Starts the updater executable and sends update data to it, and relaunch the caller application as soon as its done
|
|
ApplyUpdates ( bool relaunchApplication ) : void |
Starts the updater executable and sends update data to it
|
|
ApplyUpdates ( bool relaunchApplication, bool updaterDoLogging, bool updaterShowConsole ) : void |
Starts the updater executable and sends update data to it
|
|
BeginCheckForUpdates ( AsyncCallback callback, Object state ) : IAsyncResult |
Check for updates asynchronously
|
|
BeginPrepareUpdates ( AsyncCallback callback, Object state ) : IAsyncResult |
Prepare updates asynchronously
|
|
CheckForUpdates ( ) : void |
Check for updates synchronously
|
|
CleanUp ( ) : void |
Delete the temp folder as a whole and fail silently
|
|
EndCheckForUpdates ( IAsyncResult asyncResult ) : void |
Block until previously-called CheckForUpdates complete
|
|
EndPrepareUpdates ( IAsyncResult asyncResult ) : void |
Block until previously-called PrepareUpdates complete
|
|
PrepareUpdates ( ) : void |
Prepare updates synchronously
|
|
ReinstateIfRestarted ( ) : void | ||
RollbackUpdates ( ) : void |
Rollback executed updates in case of an update failure
|
Méthode | Description | |
---|---|---|
IsAfterRestart ( ) : bool | ||
TaskProgressCallback ( UpdateProgressInfo currentStatus, IUpdateTask task ) : void | ||
UpdateManager ( ) : System |
public Abort ( bool waitForTermination ) : void | ||
waitForTermination | bool | If true, blocks the calling thread until the current process terminates |
Résultat | void |
public ApplyUpdates ( bool relaunchApplication ) : void | ||
relaunchApplication | bool | true if relaunching the caller application is required; false otherwise |
Résultat | void |
public ApplyUpdates ( bool relaunchApplication, bool updaterDoLogging, bool updaterShowConsole ) : void | ||
relaunchApplication | bool | true if relaunching the caller application is required; false otherwise |
updaterDoLogging | bool | true if the updater writes to a log file; false otherwise |
updaterShowConsole | bool | true if the updater shows the console window; false otherwise |
Résultat | void |
public BeginCheckForUpdates ( AsyncCallback callback, Object state ) : IAsyncResult | ||
callback | AsyncCallback | Callback function to call when done; can be null |
state | Object | Allows the caller to preserve state; can be null |
Résultat | IAsyncResult |
public BeginPrepareUpdates ( AsyncCallback callback, Object state ) : IAsyncResult | ||
callback | AsyncCallback | Callback function to call when done; can be null |
state | Object | Allows the caller to preserve state; can be null |
Résultat | IAsyncResult |
public EndCheckForUpdates ( IAsyncResult asyncResult ) : void | ||
asyncResult | IAsyncResult | |
Résultat | void |
public EndPrepareUpdates ( IAsyncResult asyncResult ) : void | ||
asyncResult | IAsyncResult | |
Résultat | void |