Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of ZipArchive on the given stream for reading.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub New ( _
stream As Stream _
)
public ZipArchive(
Stream stream
)
public:
ZipArchive(
Stream^ stream
)
new :
stream:Stream -> ZipArchive
public function ZipArchive(
stream : Stream
)
Parameters
stream
Type: System.IO.StreamThe stream containing the archive to be read.
Exceptions
| 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. |
.NET Framework Security
- 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.