Partager via


DeploymentCatalog.DownloadCompleted Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Occurs when the XAP file has finished downloading, or there has been an error.

Namespace:  System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition.Initialization (in System.ComponentModel.Composition.Initialization.dll)

Syntax

'Declaration
Public Event DownloadCompleted As EventHandler(Of AsyncCompletedEventArgs)
public event EventHandler<AsyncCompletedEventArgs> DownloadCompleted

Remarks

If an error occurred, the Error property will contain the exception.

If the DeploymentCatalog object is created with a local XAP file, this event will still occur immediately after initialization.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.