Delen via


ZipArchive.Dispose Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Dispose() Finishes writing the archive and releases all resources used by the ZipArchive object, unless the object was constructed with leaveOpen as true. Any streams from opened entries in the ZipArchive still open will throw exceptions on subsequent writes, as the underlying streams will have been closed.
Protected method Dispose(Boolean) Releases the unmanaged resources used by ZipArchive and optionally finishes writing the archive and releases the managed resources.

Top

See Also

Reference

ZipArchive Class

Microsoft.TeamFoundation.Server.Core Namespace