The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaStreamSource.OpenMediaAsync Method

May 11, 2014

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft