SmoothStreamingMediaElement.ChunkDownloadFailed Event

Occurs when the chunk download associated with an audio or video stream fails.

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

Public Event ChunkDownloadFailed As EventHandler(Of ChunkDownloadedEventArgs)
'Usage

Dim instance As SmoothStreamingMediaElement
Dim handler As EventHandler(Of ChunkDownloadedEventArgs)

AddHandler instance.ChunkDownloadFailed, handler
public event EventHandler<ChunkDownloadedEventArgs> ChunkDownloadFailed
public:
 event EventHandler<ChunkDownloadedEventArgs^>^ ChunkDownloadFailed {
    void add (EventHandler<ChunkDownloadedEventArgs^>^ value);
    void remove (EventHandler<ChunkDownloadedEventArgs^>^ value);
}
member ChunkDownloadFailed : <EventHandler<ChunkDownloadedEventArgs>,
    ChunkDownloadedEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

The ChunkDownloadFailed event does not occur for download failures associated with clips (ScheduleClip and ScheduleLinearClip) and composite manifests.

Version Information

Silverlight

Supported in: 5

See Also

Reference

SmoothStreamingMediaElement Class

Microsoft.Web.Media.SmoothStreaming Namespace