Compartir a través de


CaptureSource.CaptureFailed Event

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

Occurs when a requested capture operation does not generate a captured sample.

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

Syntax

'Declaration
Public Event CaptureFailed As EventHandler(Of ExceptionRoutedEventArgs)
public event EventHandler<ExceptionRoutedEventArgs> CaptureFailed

Remarks

This event does not occur for cases where captures are requested but permission from the user was not obtained. Those cases throw exceptions. Instead, this event occurs if technical issues prevented the capture.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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