MediaStreamDescription Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the MediaStreamDescription class with the specified values.

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

Syntax

Public Sub New ( _
    type As MediaStreamType, _
    mediaStreamAttributes As IDictionary(Of MediaStreamAttributeKeys, String) _
)
public MediaStreamDescription(
    MediaStreamType type,
    IDictionary<MediaStreamAttributeKeys, string> mediaStreamAttributes
)

Parameters

Exceptions

Exception Condition
InvalidOperationException

The specified type is not audio or video.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

MediaStreamDescription Class

System.Windows.Media Namespace