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
Copy file name to clipboardExpand all lines: xml/System.IO.Compression/BrotliStream.xml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -549,6 +549,7 @@
549
549
<summary>Asynchronously releases the unmanaged resources used by the <seecref="T:System.IO.Compression.BrotliStream" />.</summary>
550
550
<returns>A task that represents the asynchronous dispose operation.</returns>
551
551
<remarks>
552
+
Calling `DisposeAsync` allows the resources used by the <seecref="T:System.IO.Compression.BrotliStream" /> to be reallocated for other purposes. For more information, see [Cleaning Up Unmanaged Resources](/dotnet/standard/garbage-collection/unmanaged).
552
553
<para>The `DisposeAsync` method lets you perform a resource-intensive dispose operation without blocking the main thread. This performance consideration is particularly important in a Windows 8.x Store app or desktop app where a time-consuming stream operation can block the UI thread and make your app appear as if it is not working. The async methods are used in conjunction with the <seelangword="async" /> and <seelangword="await" /> keywords in Visual Basic and C#.</para>
553
554
<para>This method disposes the Brotli stream by writing any changes to the backing store and closing the stream to release resources.</para>
554
555
<para>Calling `DisposeAsync` allows the resources used by the <seecref="T:System.IO.Compression.BrotliStream" /> to be reallocated for other purposes. For more information, see [Cleaning Up Unmanaged Resources](/dotnet/standard/garbage-collection/unmanaged).</para>
0 commit comments