开发者

c# clickonce events?

开发者 https://www.devze.com 2022-12-25 09:05 出处:网络
Is there an event fired straight after or during a clickonce upd开发者_StackOverflow中文版ate that I can overload or subscribe to?You can subscribe to the following events

Is there an event fired straight after or during a clickonce upd开发者_StackOverflow中文版ate that I can overload or subscribe to?


You can subscribe to the following events

  • CheckForUpdateCompleted - Occurs when CheckForUpdateAsync has completed.
  • CheckForUpdateProgressChanged - Occurs when a progress update is available on a CheckForUpdateAsync call.
  • DownloadFileGroupCompleted - Occurs on the main application thread when a file download is complete.
  • DownloadFileGroupProgressChanged - Occurs when status information is available on a file download operation initiated by a call to DownloadFileGroupAsync.
  • UpdateCompleted - Occurs when ClickOnce has finished upgrading the application as the result of a call to UpdateAsync.
  • UpdateProgressChanged - Occurs when ClickOnce has new status information for an update operation initiated by calling the UpdateAsync method.

See http://msdn.microsoft.com/en-us/library/system.deployment.application.applicationdeployment_events.aspx


Use the System.Deployment.Application APIs for custom upgrades. It will do exactly what you want

http://msdn.microsoft.com/en-us/library/system.deployment.application.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消