MediaStreamSource.OpenMediaAsync Method


The MediaElement calls this method to ask the MediaStreamSource to open the media.

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

protected abstract void OpenMediaAsync()

After the collection of MediaStreamDescription objects is instantiated, a developer should call ReportMediaCompleted with the collection of MediaStreamDescription objects. If the media cannot be opened, the ErrorOccurred method should be called instead.


Supported in: 5, 4, 3

Silverlight for Windows Phone

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

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

Community Additions