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.
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)