CloseArchiveReadStream Method (archiveNumber, archiveName, stream)

DTF API

Copy image CopyHover image
Deployment Tools Foundation CloseArchiveReadStream Method (archiveNumber, archiveName, stream)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionBasicUnpackStreamContextCloseArchiveReadStream(Int32, String, Stream)
Does *not* close the stream. The archive stream should be managed by the code that invokes the archive extraction.
Declaration Syntax
C# Visual Basic Visual C++ F#
public void CloseArchiveReadStream(
	int archiveNumber,
	string archiveName,
	Stream stream
)
Public Sub CloseArchiveReadStream ( 
	archiveNumber As Integer,
	archiveName As String,
	stream As Stream
)
public:
virtual void CloseArchiveReadStream(
	int archiveNumber, 
	String^ archiveName, 
	Stream^ stream
) sealed
abstract CloseArchiveReadStream : 
        archiveNumber : int * 
        archiveName : string * 
        stream : Stream -> unit 
override CloseArchiveReadStream : 
        archiveNumber : int * 
        archiveName : string * 
        stream : Stream -> unit 
Parameters
archiveNumber (Int32)
The archive number of the stream to close.
archiveName (String)
The name of the archive being closed.
stream (Stream)
The stream being closed.

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