Initializes a new instance of the DisposingStream class.
The stream to wrap.
Additional resources to dispose when the stream is disposed.
stream is null (Nothing in Visual Basic).