ZipFile.OpenAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenAsync(String, ZipArchiveMode, CancellationToken) | |
OpenAsync(String, ZipArchiveMode, Encoding, CancellationToken) |
OpenAsync(String, ZipArchiveMode, CancellationToken)
- Source:
- ZipFile.Create.Async.cs
public static System.Threading.Tasks.Task<System.IO.Compression.ZipArchive> OpenAsync(string archiveFileName, System.IO.Compression.ZipArchiveMode mode, System.Threading.CancellationToken cancellationToken = default);
static member OpenAsync : string * System.IO.Compression.ZipArchiveMode * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Compression.ZipArchive>
Public Shared Function OpenAsync (archiveFileName As String, mode As ZipArchiveMode, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ZipArchive)
Parameters
- archiveFileName
- String
- mode
- ZipArchiveMode
- cancellationToken
- CancellationToken
Returns
Applies to
OpenAsync(String, ZipArchiveMode, Encoding, CancellationToken)
- Source:
- ZipFile.Create.cs
public static System.Threading.Tasks.Task<System.IO.Compression.ZipArchive> OpenAsync(string archiveFileName, System.IO.Compression.ZipArchiveMode mode, System.Text.Encoding? entryNameEncoding, System.Threading.CancellationToken cancellationToken = default);
static member OpenAsync : string * System.IO.Compression.ZipArchiveMode * System.Text.Encoding * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Compression.ZipArchive>
Public Shared Function OpenAsync (archiveFileName As String, mode As ZipArchiveMode, entryNameEncoding As Encoding, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ZipArchive)
Parameters
- archiveFileName
- String
- mode
- ZipArchiveMode
- entryNameEncoding
- Encoding
- cancellationToken
- CancellationToken