Deployment Tools Foundation
CargoStream Constructor (source, cargo)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► CargoStream ► CargoStream(Stream, array<IDisposable>[]()[])
Creates a new a cargo stream.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public CargoStream( Stream source, params IDisposable[] cargo )
Public Sub New ( _ source As Stream, _ ParamArray cargo As IDisposable() _ )
public: CargoStream( Stream^ source, ... array<IDisposable^>^ cargo )
Parameters
- source (Stream)
- source of the stream
- cargo (array< IDisposable >[]()[])
- List of additional items that are disposed when the stream is closed. The order of the list is the order in which the items are disposed.