SKManagedStream Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SKManagedStream(Stream) |
Creates a new read-only stream from a Stream. |
SKManagedStream(Stream, Boolean) |
Creates a new read-only stream from a Stream, can optionally dispose the provided stream when this stream is disposed. |
SKManagedStream(Stream)
SKManagedStream(Stream, Boolean)
Creates a new read-only stream from a Stream, can optionally dispose the provided stream when this stream is disposed.
public SKManagedStream (System.IO.Stream managedStream, bool disposeManagedStream);
Parameters
- managedStream
- Stream
The managed stream.
- disposeManagedStream
- Boolean
If this is set to true
, the provided managedStream
will be disposed when this instance is disposed.