CloseArchiveWriteStream Method (archiveNumber, archiveName, stream)

Microsoft Deployment Tools

Deployment Tools Foundation CloseArchiveWriteStream Method (archiveNumber, archiveName, stream)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionIPackStreamContextCloseArchiveWriteStream(Int32, String, Stream)
Closes a stream where an archive package was written.
Declaration Syntax
C# Visual Basic Visual C++
void CloseArchiveWriteStream(
	int archiveNumber,
	string archiveName,
	Stream stream
)
Sub CloseArchiveWriteStream ( _
	archiveNumber As Integer, _
	archiveName As String, _
	stream As Stream _
)
void CloseArchiveWriteStream(
	int archiveNumber, 
	String^ archiveName, 
	Stream^ stream
)
Parameters
archiveNumber (Int32)
The 0-based index of the archive within the chain.
archiveName (String)
The name of the archive that was previously returned by GetArchiveName(Int32).
stream (Stream)
A stream that was previously returned by OpenArchiveWriteStream(Int32, String, Boolean, CompressionEngine) and is now ready to be closed.
Remarks
If there is another archive package in the chain, then after this stream is closed a new stream will be opened.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression) Version: 3.0.0.0 (3.5.1623.0)