This topic has not yet been rated - Rate this topic

ZipArchive Constructor (Stream)

Initializes a new instance of ZipArchive on the given stream for reading.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
public ZipArchive(
	Stream stream
)

Parameters

stream
Type: System.IO.Stream

The stream that contains the archive to be read.

ExceptionCondition
ArgumentException

The stream is already closed or does not support reading.

ArgumentNullException

The stream is null.

InvalidDataException

The contents of the stream could not be interpreted as a Zip archive.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.