Partager via


CaptureSource.Start Method

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

Initiates capture from all capture devices that are relevant to this CaptureSource.

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

Syntax

'Declaration
Public Sub Start
public void Start()

Remarks

When the capture source is started, it fills with data from the relevant capture device. For video, this data can now be displayed in any associated VideoBrush. You can also grab video frames by calling CaptureImageAsync, and handling CaptureImageCompleted to obtain the result.

To get raw data for either video or audio, you must use the associated sink (AudioSink or VideoSink).

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.