MediaElement.SetSource Method (Stream)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Sets the Source property using the supplied stream.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- stream
- Type: System.IO.Stream
A stream that contains a natively supported media source.
| Exception | Condition |
|---|---|
| ArgumentNullException | The stream is null. |
Show: