Begins asynchronous ExtractFile operation. Extracts the specified archive file item into a stream.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Sub ExtractFileAsync ( _
	archiveFilePath As String, _
	outputStream As Stream _
)
C#
public void ExtractFileAsync(
	string archiveFilePath,
	Stream outputStream
)

Parameters

archiveFilePath
Type: System..::..String
Path to an archive file to be extracted.
outputStream
Type: System.IO..::..Stream
Stream to write the extracted data to.

Remarks

Note that data will be written to the current output stream position.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe specified path or output stream is null.
System..::..ArgumentExceptionThe specified path is empty.
System..::..InvalidOperationExceptionThe output stream is not writable. -or- The specified path is not a file.
System..::..ObjectDisposedExceptionArchive was already disposed.
System.IO..::..IOExceptionAn I/O error occurred.
Rebex.IO.Compression..::..ZipExceptionCannot perform the requested operation, or the operation was canceled (see ProblemType for detailed information).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also