BuildMaster SDK Reference
Version:

DisposingStream(System.IO.Stream stream, System.IDisposable[] resources) Constructor

Initializes a new instance of the DisposingStream class.

Syntax

public .ctor(System.IO.Stream stream, System.IDisposable[] resources)

Parameters

stream
Type: System.IO.Stream

The stream to wrap.

resources
Type: System.IDisposable[]

Additional resources to dispose when the stream is disposed.

Exceptions

System.ArgumentNullException

stream is null (Nothing in Visual Basic).