﻿<?xml version="1.0" encoding="utf-8"?>
<doc>
  <assembly>
    <name>System.IO.Compression.FileSystem</name>
  </assembly>
  <members>
    <member name="T:System.IO.Compression.ZipFile">
      <summary>提供创建、解压缩和打开 zip 存档的静态方法。</summary>
    </member>
    <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" /> 内，指定的路径、文件名或者两者都超出了系统定义的最大长度。</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">包括从在存档的根的 <paramref name="sourceDirectoryName" /> 的目录名称，则为 <see langword="true" />；仅包含目录中的内容，则为 <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" /> 内，指定的路径、文件名或者两者都超出了系统定义的最大长度。</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">包括从在存档的根的 <paramref name="sourceDirectoryName" /> 的目录名称，则为 <see langword="true" />；仅包含目录中的内容，则为 <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" /> 设置为不同于 UTF-8 的 Unicode 编码。</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" /> 内，指定的路径、文件名或者两者都超出了系统定义的最大长度。</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" /> 中的指定路径超过了系统定义的最大长度。</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" /> 设置为不同于 UTF-8 的 Unicode 编码。</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" /> 中的指定路径超过了系统定义的最大长度。</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" /> 内，指定的路径、文件名或者两者都超出了系统定义的最大长度。</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" /> 设置为不同于 UTF-8 的 Unicode 编码。</exception>
      <exception cref="T:System.ArgumentNullException">
        <paramref name="archiveFileName" /> 为 <see langword="null" />。</exception>
      <exception cref="T:System.IO.PathTooLongException">在 <paramref name="archiveFileName" /> 内，指定的路径、文件名或者两者都超出了系统定义的最大长度。</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" /> 内，指定的路径、文件名或者两者都超出了系统定义的最大长度。</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="T:System.IO.Compression.ZipFileExtensions">
      <summary>为 <see cref="T:System.IO.Compression.ZipArchive" /> 和 <see cref="T:System.IO.Compression.ZipArchiveEntry" /> 类提供扩展方法。</summary>
    </member>
    <member name="M:System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(System.IO.Compression.ZipArchive,System.String,System.String)">
      <summary>通过压缩并将其添加到邮编存档的存档文件。</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" /> 内，指定的路径、文件名或者两者都超出了系统定义的最大长度。</exception>
      <exception cref="T:System.IO.DirectoryNotFoundException">
        <paramref name="sourceFileName" /> 无效（例如，它位于未映射的驱动器上）。</exception>
      <exception cref="T:System.IO.IOException">无法打开由 <paramref name="sourceFileName" /> 指定的文件，或文件太大，无法更新（当前限制为 Int32.MaxValue）。</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>通过使用指定压缩级别压缩并将其添加到邮编存档的存档文件。</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" /> 内，指定的路径、文件名或者两者都超出了系统定义的最大长度。</exception>
      <exception cref="T:System.IO.IOException">无法打开由 <paramref name="sourceFileName" /> 指定的文件，或文件太大，无法更新（当前限制为 Int32.MaxValue）。</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">指定路径的长度超出系统定义的最大长度。</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">指定的路径和/或文件名超过了系统定义的最大长度。</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">指定的路径和/或文件名超过了系统定义的最大长度。</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>
  </members>
</doc>