ZipArchive.SaveAsync Method
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9147)
SaveAsync(ArchiveSaveAction, Object)
Begins asynchronous Save operation. Saves pending changes into the ZIP archive and flushes the underlying stream.
Declaration
public Task SaveAsync(ArchiveSaveAction action, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Archive |
action | Save action. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |
Remarks
There is no need to call this method if the Save
Exceptions
Type | Condition |
---|---|
Argument |
The |
Invalid |
Archive is not opened for writing. |
Object |
Archive was already disposed. |
IOException | An I/O error occurred. |
Zip |
Cannot perform the requested operation, or the operation was canceled
(see Problem |