Sdílet prostřednictvím


MultiScaleImage.ImageFailed Event

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

Occurs if the download of a tile times out or fails for another reason.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Event ImageFailed As RoutedEventHandler
public event RoutedEventHandler ImageFailed
<MultiScaleImage ImageFailed="eventhandler"/>

Remarks

For information about tiles and how they are used in multi-resolution images of Deep Zoom applications, see Deep Zoom.

NoteNote:

For privacy reasons, more specific events are not returned. A user may still be able to view the image when this event is raised, because typically only an individual tile failed to be returned. Therefore, the ImageFailed event is not a catastrophic failure like the ImageOpenFailed event.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

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