Occurs on the main application thread when a file download is complete.
Assembly: System.Deployment (in System.Deployment.dll)
The event is called on the main application thread. It is thread safe to call your application's Windows Forms controls directly within this callback.
Check the Error property of the AsyncCompletedEventArgs supplied to this callback. If this property is a null reference (Nothing in Visual Basic), the download was successful; if it is not a null reference (Nothing in Visual Basic), the installation did not succeed, and you can find more information about the installation failure through the Error property.
The following code example downloads a group of Help files in the background. The example requires that you deploy a Windows Forms application that includes a StatusStrip control, and that this control contain a ToolStripStatusLabel control named downloadStatus..