CloseArchiveWriteStream Method (archiveNumber, archiveName, stream)

DTF API

Copy image CopyHover image
Deployment Tools Foundation CloseArchiveWriteStream Method (archiveNumber, archiveName, stream)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveFileStreamContextCloseArchiveWriteStream(Int32, String, Stream)
Closes a stream where an archive package was written.
Declaration Syntax
C# Visual Basic Visual C++ F#
public virtual void CloseArchiveWriteStream(
	int archiveNumber,
	string archiveName,
	Stream stream
)
Public Overridable Sub CloseArchiveWriteStream ( 
	archiveNumber As Integer,
	archiveName As String,
	stream As Stream
)
public:
virtual void CloseArchiveWriteStream(
	int archiveNumber, 
	String^ archiveName, 
	Stream^ stream
)
abstract CloseArchiveWriteStream : 
        archiveNumber : int * 
        archiveName : string * 
        stream : Stream -> unit 
override CloseArchiveWriteStream : 
        archiveNumber : int * 
        archiveName : string * 
        stream : Stream -> unit 
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.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)