You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -392,6 +394,7 @@ public static Task CreateFromDirectoryAsync(string sourceDirectoryName, Stream d
392
394
/// <exception cref="NotSupportedException"><paramref name="sourceDirectoryName" /> contains an invalid format.</exception>
393
395
/// <exception cref="ArgumentOutOfRangeException"><paramref name="compressionLevel"/> is not a valid <see cref="CompressionLevel"/> value.</exception>
394
396
/// <exception cref="OperationCanceledException">An asynchronous operation is cancelled.</exception>
397
+
/// <returns>A task that represents the asynchronous create operation. The task completes when the archive has been written to the specified stream.</returns>
@@ -422,6 +425,7 @@ public static Task CreateFromDirectoryAsync(string sourceDirectoryName, Stream d
422
425
/// <exception cref="NotSupportedException"><paramref name="sourceDirectoryName" /> contains an invalid format.</exception>
423
426
/// <exception cref="ArgumentOutOfRangeException"><paramref name="compressionLevel"/> is not a valid <see cref="CompressionLevel"/> value.</exception>
424
427
/// <exception cref="OperationCanceledException">An asynchronous operation is cancelled.</exception>
428
+
/// <returns>A task that represents the asynchronous create operation. The task completes when the archive has been written to the specified stream.</returns>
Copy file name to clipboardExpand all lines: src/libraries/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.Extract.Async.cs
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,7 @@ public static Task ExtractToDirectoryAsync(string sourceArchiveFileName, string
133
133
/// otherwise an <see cref="ArgumentException"/> is thrown.</para>
134
134
/// </param>
135
135
/// <param name="cancellationToken">The cancellation token to monitor for cancellation requests.</param>
136
+
/// <returns>A task that represents the asynchronous extract operation. The task completes when all entries have been extracted or an error occurs.</returns>
@@ -231,6 +232,7 @@ public static async Task ExtractToDirectoryAsync(string sourceArchiveFileName, s
231
232
/// -or-
232
233
/// An archive entry was compressed by using a compression method that is not supported.</exception>
233
234
/// <exception cref="OperationCanceledException">An asynchronous operation is cancelled.</exception>
235
+
/// <returns>A task that represents the asynchronous extract operation. The task completes when all entries have been extracted or an error occurs.</returns>
/// An archive entry was compressed by using a compression method that is not supported.</exception>
264
266
/// <exception cref="OperationCanceledException">An asynchronous operation is cancelled.</exception>
267
+
/// <returns>A task that represents the asynchronous extract operation. The task completes when all entries have been extracted or an error occurs.</returns>
/// An archive entry was compressed by using a compression method that is not supported.</exception>
303
306
/// <exception cref="OperationCanceledException">An asynchronous operation is cancelled.</exception>
307
+
/// <returns>A task that represents the asynchronous extract operation. The task completes when all entries have been extracted or an error occurs.</returns>
/// An archive entry was compressed by using a compression method that is not supported.</exception>
343
347
/// <exception cref="OperationCanceledException">An asynchronous operation is cancelled.</exception>
348
+
/// <returns>A task that represents the asynchronous extract operation. The task completes when all entries have been extracted or an error occurs.</returns>
0 commit comments