diff options
Diffstat (limited to '.packages/microsoft.private.corefx.netcoreapp/4.7.0-preview3.19551.4/ref/netcoreapp3.1/System.IO.Compression.ZipFile.xml')
-rwxr-xr-x | .packages/microsoft.private.corefx.netcoreapp/4.7.0-preview3.19551.4/ref/netcoreapp3.1/System.IO.Compression.ZipFile.xml | 479 |
1 files changed, 479 insertions, 0 deletions
diff --git a/.packages/microsoft.private.corefx.netcoreapp/4.7.0-preview3.19551.4/ref/netcoreapp3.1/System.IO.Compression.ZipFile.xml b/.packages/microsoft.private.corefx.netcoreapp/4.7.0-preview3.19551.4/ref/netcoreapp3.1/System.IO.Compression.ZipFile.xml new file mode 100755 index 0000000000..46a3564e55 --- /dev/null +++ b/.packages/microsoft.private.corefx.netcoreapp/4.7.0-preview3.19551.4/ref/netcoreapp3.1/System.IO.Compression.ZipFile.xml @@ -0,0 +1,479 @@ +<?xml version="1.0" encoding="utf-8"?> +<doc> + <assembly> + <name>System.IO.Compression.ZipFile</name> + </assembly> + <members> + <member name="T:System.IO.Compression.ZipFile"> + <summary>Provides static methods for creating, extracting, and opening zip archives.</summary> + </member> + <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String)"> + <summary>Creates a zip archive that contains the files and directories from the specified directory.</summary> + <param name="sourceDirectoryName">The path to the directory to be archived, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="destinationArchiveFileName">The path of the archive to be created, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException"> + <paramref name="sourceDirectoryName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException"> + <paramref name="destinationArchiveFileName" /> already exists. +-or- +A file in the specified directory could not be opened.</exception> + <exception cref="T:System.UnauthorizedAccessException"> + <paramref name="destinationArchiveFileName" /> specifies a directory. +-or- +The caller does not have the required permission to access the directory specified in <paramref name="sourceDirectoryName" /> or the file specified in <paramref name="destinationArchiveFileName" />.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> contains an invalid format. +-or- +The zip archive does not support writing.</exception> + </member> + <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String,System.IO.Compression.CompressionLevel,System.Boolean)"> + <summary>Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level, and optionally includes the base directory.</summary> + <param name="sourceDirectoryName">The path to the directory to be archived, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="destinationArchiveFileName">The path of the archive to be created, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="compressionLevel">One of the enumeration values that indicates whether to emphasize speed or compression effectiveness when creating the entry.</param> + <param name="includeBaseDirectory"> + <see langword="true" /> to include the directory name from <paramref name="sourceDirectoryName" /> at the root of the archive; <see langword="false" /> to include only the contents of the directory.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException"> + <paramref name="sourceDirectoryName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException"> + <paramref name="destinationArchiveFileName" /> already exists. +-or- +A file in the specified directory could not be opened.</exception> + <exception cref="T:System.UnauthorizedAccessException"> + <paramref name="destinationArchiveFileName" /> specifies a directory. +-or- +The caller does not have the required permission to access the directory specified in <paramref name="sourceDirectoryName" /> or the file specified in <paramref name="destinationArchiveFileName" />.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> contains an invalid format. +-or- +The zip archive does not support writing.</exception> + </member> + <member name="M:System.IO.Compression.ZipFile.CreateFromDirectory(System.String,System.String,System.IO.Compression.CompressionLevel,System.Boolean,System.Text.Encoding)"> + <summary>Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level and character encoding for entry names, and optionally includes the base directory.</summary> + <param name="sourceDirectoryName">The path to the directory to be archived, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="destinationArchiveFileName">The path of the archive to be created, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="compressionLevel">One of the enumeration values that indicates whether to emphasize speed or compression effectiveness when creating the entry.</param> + <param name="includeBaseDirectory"> + <see langword="true" /> to include the directory name from <paramref name="sourceDirectoryName" /> at the root of the archive; <see langword="false" /> to include only the contents of the directory.</param> + <param name="entryNameEncoding">The encoding to use when reading or writing entry names in this archive. Specify a value for this parameter only when an encoding is required for interoperability with zip archive tools and libraries that do not support UTF-8 encoding for entry names.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character. +-or- +<paramref name="entryNameEncoding" /> is set to a Unicode encoding other than UTF-8.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException"> + <paramref name="sourceDirectoryName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException"> + <paramref name="destinationArchiveFileName" /> already exists. +-or- +A file in the specified directory could not be opened.</exception> + <exception cref="T:System.UnauthorizedAccessException"> + <paramref name="destinationArchiveFileName" /> specifies a directory. +-or- +The caller does not have the required permission to access the directory specified in <paramref name="sourceDirectoryName" /> or the file specified in <paramref name="destinationArchiveFileName" />.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="sourceDirectoryName" /> or <paramref name="destinationArchiveFileName" /> contains an invalid format. +-or- +The zip archive does not support writing.</exception> + </member> + <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String)"> + <summary>Extracts all the files in the specified zip archive to a directory on the file system.</summary> + <param name="sourceArchiveFileName">The path to the archive that is to be extracted.</param> + <param name="destinationDirectoryName">The path to the directory in which to place the extracted files, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> exceeds the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException">The directory specified by <paramref name="destinationDirectoryName" /> already exists. +-or- +The name of an entry in the archive is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character. +-or- +Extracting an archive entry would create a file that is outside the directory specified by <paramref name="destinationDirectoryName" />. (For example, this might happen if the entry name contains parent directory accessors.) +-or- +An archive entry to extract has the same name as an entry that has already been extracted from the same archive.</exception> + <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to access the archive or the destination directory.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> contains an invalid format.</exception> + <exception cref="T:System.IO.FileNotFoundException"> + <paramref name="sourceArchiveFileName" /> was not found.</exception> + <exception cref="T:System.IO.InvalidDataException">The archive specified by <paramref name="sourceArchiveFileName" /> is not a valid zip archive. +-or- +An archive entry was not found or was corrupt. +-or- +An archive entry was compressed by using a compression method that is not supported.</exception> + </member> + <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String,System.Boolean)"> + <summary>Extracts all of the files in the specified archive to a directory on the file system.</summary> + <param name="sourceArchiveFileName">The path on the file system to the archive that is to be extracted.</param> + <param name="destinationDirectoryName">The path to the destination directory on the file system. The directory specified must not exist, but the directory that it is contained in must exist.</param> + <param name="overwriteFiles"> + <see langword="true" /> to overwrite files; <see langword="false" /> otherwise.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is a zero-length string, contains only whitespace, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException"> + <paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> specifies a path, a file name, or both that exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException">The path specified by <paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is invalid (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException">The directory specified by <paramref name="destinationDirectoryName" /> already exists. +-or- +An I/O error has occurred. +-or- +The name of a <see cref="T:System.IO.Compression.ZipArchiveEntry" /> is zero-length, contains only whitespace, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />. +-or- +Extracting a <see cref="T:System.IO.Compression.ZipArchiveEntry" /> would result in a file destination that is outside the destination directory (for example, because of parent directory accessors). +-or- +A <see cref="T:System.IO.Compression.ZipArchiveEntry" /> has the same name as an already extracted entry from the same archive.</exception> + <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is in an invalid format.</exception> + <exception cref="T:System.IO.FileNotFoundException"> + <paramref name="sourceArchiveFileName" /> was not found.</exception> + <exception cref="T:System.IO.InvalidDataException">The archive specified by <paramref name="sourceArchiveFileName" /> is not a valid <see cref="T:System.IO.Compression.ZipArchive" />. +-or- +A <see cref="T:System.IO.Compression.ZipArchiveEntry" /> was not found or was corrupt. +-or- +A <see cref="T:System.IO.Compression.ZipArchiveEntry" /> has been compressed using a compression method that is not supported.</exception> + </member> + <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String,System.Text.Encoding)"> + <summary>Extracts all the files in the specified zip archive to a directory on the file system and uses the specified character encoding for entry names.</summary> + <param name="sourceArchiveFileName">The path to the archive that is to be extracted.</param> + <param name="destinationDirectoryName">The path to the directory in which to place the extracted files, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="entryNameEncoding">The encoding to use when reading or writing entry names in this archive. Specify a value for this parameter only when an encoding is required for interoperability with zip archive tools and libraries that do not support UTF-8 encoding for entry names.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character. +-or- +<paramref name="entryNameEncoding" /> is set to a Unicode encoding other than UTF-8.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">The specified path in <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> exceeds the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException">The directory specified by <paramref name="destinationDirectoryName" /> already exists. +-or- +The name of an entry in the archive is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character. +-or- +Extracting an archive entry would create a file that is outside the directory specified by <paramref name="destinationDirectoryName" />. (For example, this might happen if the entry name contains parent directory accessors.) +-or- +An archive entry to extract has the same name as an entry that has already been extracted from the same archive.</exception> + <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to access the archive or the destination directory.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="destinationDirectoryName" /> or <paramref name="sourceArchiveFileName" /> contains an invalid format.</exception> + <exception cref="T:System.IO.FileNotFoundException"> + <paramref name="sourceArchiveFileName" /> was not found.</exception> + <exception cref="T:System.IO.InvalidDataException">The archive specified by <paramref name="sourceArchiveFileName" /> is not a valid zip archive. +-or- +An archive entry was not found or was corrupt. +-or- +An archive entry was compressed by using a compression method that is not supported.</exception> + </member> + <member name="M:System.IO.Compression.ZipFile.ExtractToDirectory(System.String,System.String,System.Text.Encoding,System.Boolean)"> + <summary>Extracts all of the files in the specified archive to a directory on the file system.</summary> + <param name="sourceArchiveFileName">The path on the file system to the archive that is to be extracted.</param> + <param name="destinationDirectoryName">The path to the destination directory on the file system. The directory specified must not exist, but the directory that it is contained in must exist.</param> + <param name="entryNameEncoding">The encoding to use when reading entry names in this <see cref="T:System.IO.Compression.ZipArchive" />.</param> + <param name="overwriteFiles"> + <see langword="true" /> to overwrite files; <see langword="false" /> otherwise.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is a zero-length string, contains only whitespace, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />. +-or- +<paramref name="entryNameEncoding" /> is set to a Unicode encoding other than UTF-8.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException"> + <paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> specifies a path, a file name, or both that exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException">The path specified by <paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is invalid (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException">The directory specified by <paramref name="destinationDirectoryName" /> already exists. +-or- +An I/O error has occurred. +-or- +The name of a <see cref="T:System.IO.Compression.ZipArchiveEntry" /> is zero-length, contains only whitespace, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />. +-or- +Extracting a <see cref="T:System.IO.Compression.ZipArchiveEntry" /> would result in a file destination that is outside the destination directory (for example, because of parent directory accessors). +-or- +A <see cref="T:System.IO.Compression.ZipArchiveEntry" /> has the same name as an already extracted entry from the same archive.</exception> + <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="sourceArchiveFileName" /> or <paramref name="destinationDirectoryName" /> is in an invalid format.</exception> + <exception cref="T:System.IO.FileNotFoundException"> + <paramref name="sourceArchiveFileName" /> was not found.</exception> + <exception cref="T:System.IO.InvalidDataException">The archive specified by <paramref name="sourceArchiveFileName" /> is not a valid <see cref="T:System.IO.Compression.ZipArchive" />. +-or- +An archive entry was not found or was corrupt. +-or- +An archive entry has been compressed using a compression method that is not supported.</exception> + </member> + <member name="M:System.IO.Compression.ZipFile.Open(System.String,System.IO.Compression.ZipArchiveMode)"> + <summary>Opens a zip archive at the specified path and in the specified mode.</summary> + <param name="archiveFileName">The path to the archive to open, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="mode">One of the enumeration values that specifies the actions which are allowed on the entries in the opened archive.</param> + <returns>The opened zip archive.</returns> + <exception cref="T:System.ArgumentException"> + <paramref name="archiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="archiveFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">In <paramref name="archiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException"> + <paramref name="archiveFileName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException"> + <paramref name="archiveFileName" /> could not be opened. +-or- +<paramref name="mode" /> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Create" />, but the file specified in <paramref name="archiveFileName" /> already exists.</exception> + <exception cref="T:System.UnauthorizedAccessException"> + <paramref name="archiveFileName" /> specifies a directory. +-or- +The caller does not have the required permission to access the file specified in <paramref name="archiveFileName" />.</exception> + <exception cref="T:System.ArgumentOutOfRangeException"> + <paramref name="mode" /> specifies an invalid value.</exception> + <exception cref="T:System.IO.FileNotFoundException"> + <paramref name="mode" /> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Read" />, but the file specified in <paramref name="archiveFileName" /> is not found.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="archiveFileName" /> contains an invalid format.</exception> + <exception cref="T:System.IO.InvalidDataException"> + <paramref name="archiveFileName" /> could not be interpreted as a zip archive. +-or- +<paramref name="mode" /> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, but an entry is missing or corrupt and cannot be read. +-or- +<paramref name="mode" /> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, but an entry is too large to fit into memory.</exception> + </member> + <member name="M:System.IO.Compression.ZipFile.Open(System.String,System.IO.Compression.ZipArchiveMode,System.Text.Encoding)"> + <summary>Opens a zip archive at the specified path, in the specified mode, and by using the specified character encoding for entry names.</summary> + <param name="archiveFileName">The path to the archive to open, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="mode">One of the enumeration values that specifies the actions that are allowed on the entries in the opened archive.</param> + <param name="entryNameEncoding">The encoding to use when reading or writing entry names in this archive. Specify a value for this parameter only when an encoding is required for interoperability with zip archive tools and libraries that do not support UTF-8 encoding for entry names.</param> + <returns>The opened zip archive.</returns> + <exception cref="T:System.ArgumentException"> + <paramref name="archiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character. +-or- +<paramref name="entryNameEncoding" /> is set to a Unicode encoding other than UTF-8.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="archiveFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">In <paramref name="archiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException"> + <paramref name="archiveFileName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException"> + <paramref name="archiveFileName" /> could not be opened. +-or- +<paramref name="mode" /> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Create" />, but the file specified in <paramref name="archiveFileName" /> already exists.</exception> + <exception cref="T:System.UnauthorizedAccessException"> + <paramref name="archiveFileName" /> specifies a directory. +-or- +The caller does not have the required permission to access the file specified in <paramref name="archiveFileName" />.</exception> + <exception cref="T:System.ArgumentOutOfRangeException"> + <paramref name="mode" /> specifies an invalid value.</exception> + <exception cref="T:System.IO.FileNotFoundException"> + <paramref name="mode" /> is set to <see cref="F:System.IO.Compression.ZipArchiveMode.Read" />, but the file specified in <paramref name="archiveFileName" /> is not found.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="archiveFileName" /> contains an invalid format.</exception> + <exception cref="T:System.IO.InvalidDataException"> + <paramref name="archiveFileName" /> could not be interpreted as a zip archive. +-or- +<paramref name="mode" /> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, but an entry is missing or corrupt and cannot be read. +-or- +<paramref name="mode" /> is <see cref="F:System.IO.Compression.ZipArchiveMode.Update" />, but an entry is too large to fit into memory.</exception> + </member> + <member name="M:System.IO.Compression.ZipFile.OpenRead(System.String)"> + <summary>Opens a zip archive for reading at the specified path.</summary> + <param name="archiveFileName">The path to the archive to open, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param> + <returns>The opened zip archive.</returns> + <exception cref="T:System.ArgumentException"> + <paramref name="archiveFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="archiveFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">In <paramref name="archiveFileName" />, the specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException"> + <paramref name="archiveFileName" /> is invalid or does not exist (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException"> + <paramref name="archiveFileName" /> could not be opened.</exception> + <exception cref="T:System.UnauthorizedAccessException"> + <paramref name="archiveFileName" /> specifies a directory. +-or- +The caller does not have the required permission to access the file specified in <paramref name="archiveFileName" />.</exception> + <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="archiveFileName" /> is not found.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="archiveFileName" /> contains an invalid format.</exception> + <exception cref="T:System.IO.InvalidDataException"> + <paramref name="archiveFileName" /> could not be interpreted as a zip archive.</exception> + </member> + <member name="T:System.IO.Compression.ZipFileExtensions"> + <summary>Provides extension methods for the <see cref="T:System.IO.Compression.ZipArchive" /> and <see cref="T:System.IO.Compression.ZipArchiveEntry" /> classes.</summary> + </member> + <member name="M:System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(System.IO.Compression.ZipArchive,System.String,System.String)"> + <summary>Archives a file by compressing it and adding it to the zip archive.</summary> + <param name="destination">The zip archive to add the file to.</param> + <param name="sourceFileName">The path to the file to be archived. You can specify either a relative or an absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="entryName">The name of the entry to create in the zip archive.</param> + <returns>A wrapper for the new entry in the zip archive.</returns> + <exception cref="T:System.ArgumentException"> + <paramref name="sourceFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character. +-or- +<paramref name="entryName" /> is <see cref="F:System.String.Empty" />.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="sourceFileName" /> or <paramref name="entryName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceFileName" />, the specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException"> + <paramref name="sourceFileName" /> is invalid (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException">The file specified by <paramref name="sourceFileName" /> cannot be opened, or is too large to be updated (current limit is Int32.MaxValue).</exception> + <exception cref="T:System.UnauthorizedAccessException"> + <paramref name="sourceFileName" /> specifies a directory. +-or- +The caller does not have the required permission to access the file specified by <paramref name="sourceFileName" />.</exception> + <exception cref="T:System.IO.FileNotFoundException">The file specified by <paramref name="sourceFileName" /> is not found.</exception> + <exception cref="T:System.NotSupportedException">The <paramref name="sourceFileName" /> parameter is in an invalid format. +-or- +The zip archive does not support writing.</exception> + <exception cref="T:System.ObjectDisposedException">The zip archive has been disposed.</exception> + </member> + <member name="M:System.IO.Compression.ZipFileExtensions.CreateEntryFromFile(System.IO.Compression.ZipArchive,System.String,System.String,System.IO.Compression.CompressionLevel)"> + <summary>Archives a file by compressing it using the specified compression level and adding it to the zip archive.</summary> + <param name="destination">The zip archive to add the file to.</param> + <param name="sourceFileName">The path to the file to be archived. You can specify either a relative or an absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="entryName">The name of the entry to create in the zip archive.</param> + <param name="compressionLevel">One of the enumeration values that indicates whether to emphasize speed or compression effectiveness when creating the entry.</param> + <returns>A wrapper for the new entry in the zip archive.</returns> + <exception cref="T:System.ArgumentException"> + <paramref name="sourceFileName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character. +-or- +<paramref name="entryName" /> is <see cref="F:System.String.Empty" />.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="sourceFileName" /> or <paramref name="entryName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException"> + <paramref name="sourceFileName" /> is invalid (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.PathTooLongException">In <paramref name="sourceFileName" />, the specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.IOException">The file specified by <paramref name="sourceFileName" /> cannot be opened, or is too large to be updated (current limit is Int32.MaxValue).</exception> + <exception cref="T:System.UnauthorizedAccessException"> + <paramref name="sourceFileName" /> specifies a directory. +-or- +The caller does not have the required permission to access the file specified by <paramref name="sourceFileName" />.</exception> + <exception cref="T:System.IO.FileNotFoundException">The file specified by <paramref name="sourceFileName" /> is not found.</exception> + <exception cref="T:System.NotSupportedException">The <paramref name="sourceFileName" /> parameter is in an invalid format. +-or- +The zip archive does not support writing.</exception> + <exception cref="T:System.ObjectDisposedException">The zip archive has been disposed.</exception> + </member> + <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToDirectory(System.IO.Compression.ZipArchive,System.String)"> + <summary>Extracts all the files in the zip archive to a directory on the file system.</summary> + <param name="source">The zip archive to extract files from.</param> + <param name="destinationDirectoryName">The path to the directory to place the extracted files in. You can specify either a relative or an absolute path. A relative path is interpreted as relative to the current working directory.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="destinationDirectoryName" /> is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="destinationDirectoryName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">The specified path exceeds the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException">The directory specified by <paramref name="destinationDirectoryName" /> already exists. +-or- +The name of an entry in the archive is <see cref="F:System.String.Empty" />, contains only white space, or contains at least one invalid character. +-or- +Extracting an entry from the archive would create a file that is outside the directory specified by <paramref name="destinationDirectoryName" />. (For example, this might happen if the entry name contains parent directory accessors.) +-or- +Two or more entries in the archive have the same name.</exception> + <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to write to the destination directory.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="destinationDirectoryName" /> contains an invalid format.</exception> + <exception cref="T:System.IO.InvalidDataException">An archive entry cannot be found or is corrupt. +-or- +An archive entry was compressed by using a compression method that is not supported.</exception> + </member> + <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToDirectory(System.IO.Compression.ZipArchive,System.String,System.Boolean)"> + <summary>Extracts all of the files in the archive to a directory on the file system.</summary> + <param name="source">The <see cref="T:System.IO.Compression.ZipArchive" /> to extract.</param> + <param name="destinationDirectoryName">The path to the destination directory on the file system. The path can be relative or absolute. A relative path is interpreted as relative to the current working directory.</param> + <param name="overwriteFiles"> + <see langword="true" /> to indicate that existing files are to be overwritten; <see langword="false" /> otherwise.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="destinationArchiveFileName" /> is a zero-length string, contains only whitespace, +or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="destinationArchiveFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException">The name of a <see cref="T:System.IO.Compression.ZipArchiveEntry" /> is zero-length, contains only whitespace, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />. +-or- +Extracting a <see cref="T:System.IO.Compression.ZipArchiveEntry" /> would have resulted in a destination file that is outside <paramref name="destinationArchiveFileName" /> (for example, if the entry name contains parent directory accessors). +-or- +A <see cref="T:System.IO.Compression.ZipArchiveEntry" /> has the same name as an already extracted entry from the same archive.</exception> + <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="destinationArchiveFileName" /> is in an invalid format.</exception> + <exception cref="T:System.IO.InvalidDataException">A <see cref="T:System.IO.Compression.ZipArchiveEntry" /> was not found or was corrupt. +-or- +A <see cref="T:System.IO.Compression.ZipArchiveEntry" /> has been compressed using a compression method that is not supported.</exception> + </member> + <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToFile(System.IO.Compression.ZipArchiveEntry,System.String)"> + <summary>Extracts an entry in the zip archive to a file.</summary> + <param name="source">The zip archive entry to extract a file from.</param> + <param name="destinationFileName">The path of the file to create from the contents of the entry. You can specify either a relative or an absolute path. A relative path is interpreted as relative to the current working directory.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="destinationFileName" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />. +-or- +<paramref name="destinationFileName" /> specifies a directory.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="destinationFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException"> + <paramref name="destinationFileName" /> already exists. +-or- +An I/O error occurred. +-or- +The entry is currently open for writing. +-or- +The entry has been deleted from the archive.</exception> + <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to create the new file.</exception> + <exception cref="T:System.IO.InvalidDataException">The entry is missing from the archive, or is corrupt and cannot be read. +-or- +The entry has been compressed by using a compression method that is not supported.</exception> + <exception cref="T:System.ObjectDisposedException">The zip archive that this entry belongs to has been disposed.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="destinationFileName" /> is in an invalid format. +-or- +The zip archive for this entry was opened in <see cref="F:System.IO.Compression.ZipArchiveMode.Create" /> mode, which does not permit the retrieval of entries.</exception> + </member> + <member name="M:System.IO.Compression.ZipFileExtensions.ExtractToFile(System.IO.Compression.ZipArchiveEntry,System.String,System.Boolean)"> + <summary>Extracts an entry in the zip archive to a file, and optionally overwrites an existing file that has the same name.</summary> + <param name="source">The zip archive entry to extract a file from.</param> + <param name="destinationFileName">The path of the file to create from the contents of the entry. You can specify either a relative or an absolute path. A relative path is interpreted as relative to the current working directory.</param> + <param name="overwrite"> + <see langword="true" /> to overwrite an existing file that has the same name as the destination file; otherwise, <see langword="false" />.</param> + <exception cref="T:System.ArgumentException"> + <paramref name="destinationFileName" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />. +-or- +<paramref name="destinationFileName" /> specifies a directory.</exception> + <exception cref="T:System.ArgumentNullException"> + <paramref name="destinationFileName" /> is <see langword="null" />.</exception> + <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception> + <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception> + <exception cref="T:System.IO.IOException"> + <paramref name="destinationFileName" /> already exists and <paramref name="overwrite" /> is <see langword="false" />. +-or- +An I/O error occurred. +-or- +The entry is currently open for writing. +-or- +The entry has been deleted from the archive.</exception> + <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission to create the new file.</exception> + <exception cref="T:System.IO.InvalidDataException">The entry is missing from the archive or is corrupt and cannot be read. +-or- +The entry has been compressed by using a compression method that is not supported.</exception> + <exception cref="T:System.ObjectDisposedException">The zip archive that this entry belongs to has been disposed.</exception> + <exception cref="T:System.NotSupportedException"> + <paramref name="destinationFileName" /> is in an invalid format. +-or- +The zip archive for this entry was opened in <see cref="F:System.IO.Compression.ZipArchiveMode.Create" /> mode, which does not permit the retrieval of entries.</exception> + </member> + </members> +</doc>
\ No newline at end of file |