ComponentOne MediaPlayer for WPF and Silverlight
MediaFailed Event (C1MediaPlayer)

C1.WPF.MediaPlayer Namespace > C1MediaPlayer Class : MediaFailed Event
Occurs when there is an error associated with the MediaSource of the current C1MediaItem.
Syntax
'Declaration
 
Public Event MediaFailed As EventHandler(Of ExceptionEventArgs)
public event EventHandler<ExceptionEventArgs> MediaFailed
Event Data

The event handler receives an argument of type ExceptionEventArgs containing data related to this event. The following ExceptionEventArgs properties provide information specific to this event.

PropertyDescription
Gets the exception that details the cause of the failure.  
See Also