CargoStream Constructor (source, cargo)

Microsoft Deployment Tools

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) Version: 3.0.0.0 (3.5.1623.0)