CargoStream Constructor (source, cargo)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation CargoStream Constructor (source, cargo)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionCargoStreamCargoStream(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)