MediaStreamDescription Constructor
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of the MediaStreamDescription class with the specified values.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public Sub New ( _
type As MediaStreamType, _
mediaStreamAttributes As IDictionary(Of MediaStreamAttributeKeys, String) _
)
public MediaStreamDescription(
MediaStreamType type,
IDictionary<MediaStreamAttributeKeys, string> mediaStreamAttributes
)
Parameters
- type
Type: System.Windows.Media.MediaStreamType
A value from the enumeration, which is either audio or video.
- mediaStreamAttributes
Type: System.Collections.Generic.IDictionary<MediaStreamAttributeKeys, String>
A collection of pairs describing other attributes of the overall Media Stream.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.