StreamResourceInfo 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 StreamResourceInfo class.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- stream
- Type: System.IO.Stream
The stream to use to create the resource.
- contentType
- Type: System.String
The MIME type of the content.
| Exception | Condition |
|---|---|
| ArgumentNullException | stream is Nothing. |
Show: