Modifier

Partager via


SKManagedStream Constructors

Definition

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)

Creates a new read-only stream from a Stream.

public SKManagedStream (System.IO.Stream managedStream);

Parameters

managedStream
Stream

The managed stream.

Remarks

The underlying stream is not disposed when this object is disposed.

Applies to

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.

Applies to