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)
| Exception | Condition |
|---|---|
| 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. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.