﻿<?xml version="1.0" encoding="utf-8"?>
<doc>
  <assembly>
    <name>System.IO.Compression.FileSystem</name>
  </assembly>
  <members>
    <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String)">
      <summary>
              创建 zip 存档，该存档包含指定目录的文件和目录。
            </summary>
      <param name="sourceDirectoryName">
                要存档的目录的路径，指定为相对路径或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="destinationArchiveFileName">
                要生成的存档路径，指定为相对路径或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <exception cref="T:System.ArgumentException">
                  <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" /> 是 <see cref="F:System.String.Empty" />, ，仅包含空白，或者包含至少一个无效字符。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  在 <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" />, ，指定的路径和 / 或文件名，超出了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  <paramref name="sourceDirectoryName" /> 无效或不存在 （例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="destinationArchiveFileName" /> 已存在。
                
                  - 或 -
                
                  无法打开指定的目录中的文件。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  <paramref name="destinationArchiveFileName" /> 指定的目录。
                
                  - 或 -
                
                  调用方没有所需的权限访问指定的目录中 <paramref name="sourceDirectoryName" /> 中指定的文件或 <paramref name="destinationArchiveFileName" />。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" /> 包含无效格式。
                
                  - 或 -
                
                  在 zip 存档不支持写入。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String,System.IO.Compression.CompressionLevel,System.Boolean)">
      <summary>
              创建 zip 存档，该存档包括指定目录的文件和目录，使用指定压缩级别，以及可以选择包含基目录。
            </summary>
      <param name="sourceDirectoryName">
                要存档的目录的路径，指定为相对路径或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="destinationArchiveFileName">
                要生成的存档路径，指定为相对路径或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="compressionLevel">
                指示创建项时是否强调速度或压缩有效性的枚举值之一。
              </param>
      <param name="includeBaseDirectory">
                <see langword="true" /> 若要包括的目录名称 <paramref name="sourceDirectoryName" /> 存档; 根部 <see langword="false" /> 包括仅目录的内容。
              </param>
      <exception cref="T:System.ArgumentException">
                  <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" /> 是 <see cref="F:System.String.Empty" />, ，仅包含空白，或者包含至少一个无效字符。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  在 <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" />, ，指定的路径和 / 或文件名，超出了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  <paramref name="sourceDirectoryName" /> 无效或不存在 （例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="destinationArchiveFileName" /> 已存在。
                
                  - 或 -
                
                  无法打开指定的目录中的文件。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  <paramref name="destinationArchiveFileName" /> 指定的目录。
                
                  - 或 -
                
                  调用方没有所需的权限访问指定的目录中 <paramref name="sourceDirectoryName" /> 中指定的文件或 <paramref name="destinationArchiveFileName" />。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" /> 包含无效格式。
                
                  - 或 -
                
                  在 zip 存档不支持写入。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String,System.IO.Compression.CompressionLevel,System.Boolean,System.Text.Encoding)">
      <summary>
              创建 zip 存档，该存档包括文件和指定目录的目录，使用指定压缩级别和条目名称的字符编码，以及可以选择包含基目录。
            </summary>
      <param name="sourceDirectoryName">
                要存档的目录的路径，指定为相对路径或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="destinationArchiveFileName">
                要生成的存档路径，指定为相对路径或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="compressionLevel">
                指示创建项时是否强调速度或压缩有效性的枚举值之一。
              </param>
      <param name="includeBaseDirectory">
                <see langword="true" /> 若要包括的目录名称 <paramref name="sourceDirectoryName" /> 存档; 根部 <see langword="false" /> 包括仅目录的内容。
              </param>
      <param name="entryNameEncoding">
                在存档中读取或写入项名时使用的编码。
                 仅当需要针对具有不支持项名的 UTF-8 编码的 zip 归档工具和库的互操作性进行编码时，为此参数指定一个值。
              </param>
      <exception cref="T:System.ArgumentException">
                  <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" /> 是 <see cref="F:System.String.Empty" />, ，仅包含空白，或者包含至少一个无效字符。
                
                  - 或 -
                
                  <paramref name="entryNameEncoding" /> 设置为 Unicode 编码 utf-8 以外的其他。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  在 <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" />, ，指定的路径和 / 或文件名，超出了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  <paramref name="sourceDirectoryName" /> 无效或不存在 （例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="destinationArchiveFileName" /> 已存在。
                
                  - 或 -
                
                  无法打开指定的目录中的文件。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  <paramref name="destinationArchiveFileName" /> 指定的目录。
                
                  - 或 -
                
                  调用方没有所需的权限访问指定的目录中 <paramref name="sourceDirectoryName" /> 中指定的文件或 <paramref name="destinationArchiveFileName" />。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="sourceDirectoryName" /> 或 <paramref name="destinationArchiveFileName" /> 包含无效格式。
                
                  - 或 -
                
                  在 zip 存档不支持写入。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String)">
      <summary>
              将指定 zip 存档中的所有文件都解压缩到文件系统的一个目录下。
            </summary>
      <param name="sourceArchiveFileName">
                要解压缩存档的路径。
              </param>
      <param name="destinationDirectoryName">
                放置解压缩文件的目录的路径，指定为相对或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <exception cref="T:System.ArgumentException">
                  <paramref name="destinationDirectoryName" /> 或 <paramref name="sourceArchiveFileName" /> 是 <see cref="F:System.String.Empty" />, ，仅包含空白，或者包含至少一个无效字符。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="destinationDirectoryName" /> 或 <paramref name="sourceArchiveFileName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  中的指定的路径 <paramref name="destinationDirectoryName" /> 或 <paramref name="sourceArchiveFileName" /> 超过了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  指定的路径无效（例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="destinationDirectoryName" /> 指定的目录已存在。
                
                  - 或 -
                
                  存档中的一个条目名是 <see cref="F:System.String.Empty" />，仅包含空格，或者包含至少一个无效字符。
                
                  - 或 -
                
                  提取存档条目将创建在指定的目录之外的文件 <paramref name="destinationDirectoryName" />。
                   （例如，如果条目名中包含父目录访问器，则可能发生这种情况。）
                
                  - 或 -
                
                  要提取的存档项具有与已经从同一存档提取的条目相同的名称。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  调用方没有所需的权限来访问存档或目标目录。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="destinationDirectoryName" /> 或 <paramref name="sourceArchiveFileName" /> 包含无效格式。
                </exception>
      <exception cref="T:System.IO.FileNotFoundException">
                  未找到 <paramref name="sourceArchiveFileName" />。
                </exception>
      <exception cref="T:System.IO.InvalidDataException">
                  指定的存档 <paramref name="sourceArchiveFileName" /> 不是有效的 zip 存档。
                
                  - 或 -
                
                  存档条目未找到或已损坏。
                
                  - 或 -
                
                  使用了一种不支持的压缩方法压缩存档条目。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String,System.Text.Encoding)">
      <summary>
              将指定 zip 存档中的所有文件解压缩到文件系统的一目录下，并使用项名称的指定字符编码。
            </summary>
      <param name="sourceArchiveFileName">
                要解压缩存档的路径。
              </param>
      <param name="destinationDirectoryName">
                放置解压缩文件的目录的路径，指定为相对或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="entryNameEncoding">
                在存档中读取或写入项名时使用的编码。
                 仅当需要针对具有不支持项名的 UTF-8 编码的 zip 归档工具和库的互操作性进行编码时，为此参数指定一个值。
              </param>
      <exception cref="T:System.ArgumentException">
                  <paramref name="destinationDirectoryName" /> 或 <paramref name="sourceArchiveFileName" /> 是 <see cref="F:System.String.Empty" />, ，仅包含空白，或者包含至少一个无效字符。
                
                  - 或 -
                
                  <paramref name="entryNameEncoding" /> 设置为 Unicode 编码 utf-8 以外的其他。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="destinationDirectoryName" /> 或 <paramref name="sourceArchiveFileName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  中的指定的路径 <paramref name="destinationDirectoryName" /> 或 <paramref name="sourceArchiveFileName" /> 超过了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  指定的路径无效（例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="destinationDirectoryName" /> 指定的目录已存在。
                
                  - 或 -
                
                  存档中的一个条目名是 <see cref="F:System.String.Empty" />，仅包含空格，或者包含至少一个无效字符。
                
                  - 或 -
                
                  提取存档条目将创建在指定的目录之外的文件 <paramref name="destinationDirectoryName" />。
                   （例如，如果条目名中包含父目录访问器，则可能发生这种情况。）
                
                  - 或 -
                
                  要提取的存档项具有与已经从同一存档提取的条目相同的名称。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  调用方没有所需的权限来访问存档或目标目录。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="destinationDirectoryName" /> 或 <paramref name="sourceArchiveFileName" /> 包含无效格式。
                </exception>
      <exception cref="T:System.IO.FileNotFoundException">
                  未找到 <paramref name="sourceArchiveFileName" />。
                </exception>
      <exception cref="T:System.IO.InvalidDataException">
                  指定的存档 <paramref name="sourceArchiveFileName" /> 不是有效的 zip 存档。
                
                  - 或 -
                
                  存档条目未找到或已损坏。
                
                  - 或 -
                
                  使用了一种不支持的压缩方法压缩存档条目。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.Open(System.String,System.IO.Compression.ZipArchiveMode)">
      <summary>
              以指定的模式打开指定路径上的 zip 存档。
            </summary>
      <param name="archiveFileName">
                要打开的存档的路径，指定为相对路径或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="mode">
                指定允许对打开的存档中的项进行的操作的枚举值之一。
              </param>
      <returns>
              打开的 zip 存档。
            </returns>
      <exception cref="T:System.ArgumentException">
                  <paramref name="archiveFileName" /> 为 <see cref="F:System.String.Empty" />，仅包含空格，或者包含至少一个无效字符。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="archiveFileName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  在 <paramref name="archiveFileName" />, ，指定的路径和 / 或文件名，超出了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  <paramref name="archiveFileName" /> 无效或不存在 （例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="archiveFileName" /> 无法打开。
                
                  - 或 -
                
                  <paramref name="mode" /> 设置为 <see cref="F:System.IO.Compression.ZipArchiveMode.Create" />, ，但该文件中指定 <paramref name="archiveFileName" /> 已存在。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  <paramref name="archiveFileName" /> 指定目录。
                
                  - 或 -
                
                  调用方没有所需的权限访问该文件中指定 <paramref name="archiveFileName" />。
                </exception>
      <exception cref="T:System.ArgumentOutOfRangeException">
                  <paramref name="mode" /> 指定了无效的值。
                </exception>
      <exception cref="T:System.IO.FileNotFoundException">
                  <paramref name="mode" /> 设置为 <see cref="F:System.IO.Compression.ZipArchiveMode.Read" />, ，但该文件中指定 <paramref name="archiveFileName" /> 找不到。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="archiveFileName" /> 包含无效的格式。
                </exception>
      <exception cref="T:System.IO.InvalidDataException">
                  <paramref name="archiveFileName" /> 无法解释这些信息作为 zip 存档。
                
                  - 或 -
                
                  <paramref name="mode" /> 是 <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, ，但一个条目已丢失或损坏，无法读取。
                
                  - 或 -
                
                  <paramref name="mode" /> 是 <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, ，但有一项不太大而无法放入内存。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.Open(System.String,System.IO.Compression.ZipArchiveMode,System.Text.Encoding)">
      <summary>
              在指定模式下，在指定路径中，使用项名称的指定字符编码打开 zip 存档。
            </summary>
      <param name="archiveFileName">
                要打开的存档的路径，指定为相对路径或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="mode">
                指定允许对打开的存档中的项进行的操作的枚举值之一。
              </param>
      <param name="entryNameEncoding">
                在存档中读取或写入项名时使用的编码。
                 仅当需要针对具有不支持项名的 UTF-8 编码的 zip 归档工具和库的互操作性进行编码时，为此参数指定一个值。
              </param>
      <returns>
              打开的 zip 存档。
            </returns>
      <exception cref="T:System.ArgumentException">
                  <paramref name="archiveFileName" /> 为 <see cref="F:System.String.Empty" />，仅包含空格，或者包含至少一个无效字符。
                
                  - 或 -
                
                  <paramref name="entryNameEncoding" /> 设置为 Unicode 编码 utf-8 以外的其他。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="archiveFileName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  在 <paramref name="archiveFileName" />, ，指定的路径和 / 或文件名，超出了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  <paramref name="archiveFileName" /> 无效或不存在 （例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="archiveFileName" /> 无法打开。
                
                  - 或 -
                
                  <paramref name="mode" /> 设置为 <see cref="F:System.IO.Compression.ZipArchiveMode.Create" />, ，但该文件中指定 <paramref name="archiveFileName" /> 已存在。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  <paramref name="archiveFileName" /> 指定目录。
                
                  - 或 -
                
                  调用方没有所需的权限访问该文件中指定 <paramref name="archiveFileName" />。
                </exception>
      <exception cref="T:System.ArgumentOutOfRangeException">
                  <paramref name="mode" /> 指定了无效的值。
                </exception>
      <exception cref="T:System.IO.FileNotFoundException">
                  <paramref name="mode" /> 设置为 <see cref="F:System.IO.Compression.ZipArchiveMode.Read" />, ，但该文件中指定 <paramref name="archiveFileName" /> 找不到。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="archiveFileName" /> 包含无效的格式。
                </exception>
      <exception cref="T:System.IO.InvalidDataException">
                  <paramref name="archiveFileName" /> 无法解释这些信息作为 zip 存档。
                
                  - 或 -
                
                  <paramref name="mode" /> 是 <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, ，但一个条目已丢失或损坏，无法读取。
                
                  - 或 -
                
                  <paramref name="mode" /> 是 <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, ，但有一项不太大而无法放入内存。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFile.OpenRead(System.String)">
      <summary>
              打开在指定路径用于读取的 zip 存档。
            </summary>
      <param name="archiveFileName">
                要打开的存档的路径，指定为相对路径或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <returns>
              打开的 zip 存档。
            </returns>
      <exception cref="T:System.ArgumentException">
                  <paramref name="archiveFileName" /> 为 <see cref="F:System.String.Empty" />，仅包含空格，或者包含至少一个无效字符。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="archiveFileName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  在 <paramref name="archiveFileName" />, ，指定的路径和 / 或文件名，超出了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  <paramref name="archiveFileName" /> 无效或不存在 （例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="archiveFileName" /> 无法打开。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  <paramref name="archiveFileName" /> 指定目录。
                
                  - 或 -
                
                  调用方没有所需的权限访问该文件中指定 <paramref name="archiveFileName" />。
                </exception>
      <exception cref="T:System.IO.FileNotFoundException">
                  中指定的文件 <paramref name="archiveFileName" /> 找不到。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="archiveFileName" /> 包含无效的格式。
                </exception>
      <exception cref="T:System.IO.InvalidDataException">
                  <paramref name="archiveFileName" /> 无法解释这些信息作为 zip 存档。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(System.IO.Compression.ZipArchive,System.String,System.String)">
      <summary>
              通过将其压缩并将其添加到 zip 存档中存档文件。
            </summary>
      <param name="destination">
                若要添加到文件的 zip 存档。
              </param>
      <param name="sourceFileName">
                要存档的文件路径。
                 可以指定相对或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="entryName">
                若要创建在 zip 存档中项的名称。
              </param>
      <returns>
              在 zip 存档中新的项的包装。
            </returns>
      <exception cref="T:System.ArgumentException">
                  <paramref name="sourceFileName" /> 是 <see cref="F:System.String.Empty" />, ，仅包含空白，或者包含至少一个无效字符。
                
                  - 或 -
                
                  <paramref name="entryName" /> 为 <see cref="F:System.String.Empty" />。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="sourceFileName" /> 或 <paramref name="entryName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  在 <paramref name="sourceFileName" />, ，指定的路径和 / 或文件名，超出了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  <paramref name="sourceFileName" /> 无效 （例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  指定的文件 <paramref name="sourceFileName" /> 无法打开。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  <paramref name="sourceFileName" /> 指定的目录。
                
                  - 或 -
                
                  调用方没有所需的权限访问指定的文件 <paramref name="sourceFileName" />。
                </exception>
      <exception cref="T:System.IO.FileNotFoundException">
                  指定的文件 <paramref name="sourceFileName" /> 找不到。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="sourceFileName" /> 参数是无效的格式。
                
                  - 或 -
                
                  在 zip 存档不支持写入。
                </exception>
      <exception cref="T:System.ObjectDisposedException">
                  在 zip 存档已被释放。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(System.IO.Compression.ZipArchive,System.String,System.String,System.IO.Compression.CompressionLevel)">
      <summary>
              通过使用指定的压缩级别，并将其添加到 zip 存档压缩存档文件。
            </summary>
      <param name="destination">
                若要添加到文件的 zip 存档。
              </param>
      <param name="sourceFileName">
                要存档的文件路径。
                 可以指定相对或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="entryName">
                若要创建在 zip 存档中项的名称。
              </param>
      <param name="compressionLevel">
                指示创建项时是否强调速度或压缩有效性的枚举值之一。
              </param>
      <returns>
              在 zip 存档中新的项的包装。
            </returns>
      <exception cref="T:System.ArgumentException">
                  <paramref name="sourceFileName" /> 是 <see cref="F:System.String.Empty" />, ，仅包含空白，或者包含至少一个无效字符。
                
                  - 或 -
                
                  <paramref name="entryName" /> 为 <see cref="F:System.String.Empty" />。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="sourceFileName" /> 或 <paramref name="entryName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  <paramref name="sourceFileName" /> 无效 （例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  在 <paramref name="sourceFileName" />, ，指定的路径和 / 或文件名，超出了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.IOException">
                  指定的文件 <paramref name="sourceFileName" /> 无法打开。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  <paramref name="sourceFileName" /> 指定的目录。
                
                  - 或 -
                
                  调用方没有所需的权限访问指定的文件 <paramref name="sourceFileName" />。
                </exception>
      <exception cref="T:System.IO.FileNotFoundException">
                  指定的文件 <paramref name="sourceFileName" /> 找不到。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="sourceFileName" /> 参数是无效的格式。
                
                  - 或 -
                
                  在 zip 存档不支持写入。
                </exception>
      <exception cref="T:System.ObjectDisposedException">
                  在 zip 存档已被释放。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToDirectory(System.IO.Compression.ZipArchive,System.String)">
      <summary>
              将 zip 存档中的所有文件都解压缩到文件系统的一个目录下。
            </summary>
      <param name="source">
                从中提取文件的 zip 存档。
              </param>
      <param name="destinationDirectoryName">
                要在其中放置解压缩的文件的目录路径。
                 可以指定相对或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <exception cref="T:System.ArgumentException">
                  <paramref name="destinationDirectoryName" /> 为 <see cref="F:System.String.Empty" />，仅包含空格，或者包含至少一个无效字符。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="destinationDirectoryName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  指定路径的长度超出系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  指定的路径无效（例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="destinationDirectoryName" /> 指定的目录已存在。
                
                  - 或 -
                
                  存档中的一个条目名是 <see cref="F:System.String.Empty" />，仅包含空格，或者包含至少一个无效字符。
                
                  - 或 -
                
                  从存档中解压缩一个条目将在 <paramref name="destinationDirectoryName" /> 指定的目录之外创建一个文件。
                   （例如，如果条目名中包含父目录访问器，则可能发生这种情况。）
                
                  - 或 -
                
                  存档中的两个或多个条目名相同。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  调用方没有写入目标目录所需的权限。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="destinationDirectoryName" /> 包含无效的格式。
                </exception>
      <exception cref="T:System.IO.InvalidDataException">
                  存档条目无法找到或已损坏。
                
                  - 或 -
                
                  使用了一种不支持的压缩方法压缩存档条目。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToFile(System.IO.Compression.ZipArchiveEntry,System.String)">
      <summary>
              提取到一个文件的 zip 存档中的条目。
            </summary>
      <param name="source">
                要从其中解压缩文件的 zip 存档条目。
              </param>
      <param name="destinationFileName">
                从条目内容创建的文件的路径。
                 您可以指定一个相对或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <exception cref="T:System.ArgumentException">
                  <paramref name="destinationFileName" /> 是一个长度为零的字符串，仅包含空格，或包含一个或多个由 <see cref="F:System.IO.Path.InvalidPathChars" /> 定义的无效字符。
                
                  - 或 -
                
                  <paramref name="destinationFileName" /> 指定目录。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="destinationFileName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  指定的路径和/或文件名超过了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  指定的路径无效（例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="destinationFileName" /> 已存在。
                
                  - 或 - 
                
                  出现 I/O 错误。
                
                  - 或 -
                
                  该条目当前处于打开状态，可以写入。
                
                  - 或 -
                
                  该条目已从存档中删除。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  调用方没有创建新文件所需的权限。
                </exception>
      <exception cref="T:System.IO.InvalidDataException">
                  该条目中存档，缺少或已损坏，无法读取。
                
                  - 或 -
                
                  已经通过使用一种不受支持的压缩方法压缩该条目。
                </exception>
      <exception cref="T:System.ObjectDisposedException">
                  已释放该条目所属的 zip 存档。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="destinationFileName" /> 的格式无效。
                
                  - 或 -
                
                  该条目的 zip 存档是在 <see cref="F:System.IO.Compression.ZipArchiveMode.Create" /> 模式中打开的，不允许检索条目。
                </exception>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToFile(System.IO.Compression.ZipArchiveEntry,System.String,System.Boolean)">
      <summary>
              将 zip 存档中的条目解压缩到文件下，并可选择覆盖具有相同名称的现有文件。
            </summary>
      <param name="source">
                要从其中解压缩文件的 zip 存档条目。
              </param>
      <param name="destinationFileName">
                从条目内容创建的文件的路径。
                 可以指定相对或绝对路径。
                 相对路径是指相对于当前工作目录的路径。
              </param>
      <param name="overwrite">
                如果覆盖与目标文件同名的现有文件，则为 <see langword="true" />；否则为 <see langword="false" />。
              </param>
      <exception cref="T:System.ArgumentException">
                  <paramref name="destinationFileName" /> 是一个长度为零的字符串，仅包含空格，或包含一个或多个由 <see cref="F:System.IO.Path.InvalidPathChars" /> 定义的无效字符。
                
                  - 或 -
                
                  <paramref name="destinationFileName" /> 指定目录。
                </exception>
      <exception cref="T:System.ArgumentNullException">
                  <paramref name="destinationFileName" /> 为 <see langword="null" />。
                </exception>
      <exception cref="T:System.IO.PathTooLongException">
                  指定的路径和/或文件名超过了系统定义的最大长度。
                   例如，在基于 Windows 的平台上，路径长度不得超过 248 个字符，文件名长度不得超过 260 个字符。
                </exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
                  指定的路径无效（例如，它位于未映射的驱动器上）。
                </exception>
      <exception cref="T:System.IO.IOException">
                  <paramref name="destinationFileName" /> 已存在，且 <paramref name="overwrite" /> 是 <see langword="false" />。
                
                  - 或 - 
                
                  出现 I/O 错误。
                
                  - 或 -
                
                  该条目当前处于打开状态，可以写入。
                
                  - 或 -
                
                  该条目已从存档中删除。
                </exception>
      <exception cref="T:System.UnauthorizedAccessException">
                  调用方没有创建新文件所需的权限。
                </exception>
      <exception cref="T:System.IO.InvalidDataException">
                  存档中缺少该条目，或者该条目已损坏且无法读取。
                
                  - 或 -
                
                  已经通过使用一种不受支持的压缩方法压缩该条目。
                </exception>
      <exception cref="T:System.ObjectDisposedException">
                  已释放该条目所属的 zip 存档。
                </exception>
      <exception cref="T:System.NotSupportedException">
                  <paramref name="destinationFileName" /> 的格式无效。
                
                  - 或 -
                
                  该条目的 zip 存档是在 <see cref="F:System.IO.Compression.ZipArchiveMode.Create" /> 模式中打开的，不允许检索条目。
                </exception>
    </member>
    <member name="T:System.IO.Compression.ZipFile">
      <summary>
              提供创建、解压缩和打开 zip 存档的静态方法。
            </summary>
    </member>
    <member name="T:System.IO.Compression.ZipFileExtensions">
      <summary>
              提供扩展方法<see cref="T:System.IO.Compression.ZipArchive" />和<see cref="T:System.IO.Compression.ZipArchiveEntry" />类。
            </summary>
    </member>
  </members>
</doc>