Skip to content

Commit 95ec01c

Browse files
authored
Update FileStream.xml
1 parent e9e6b8f commit 95ec01c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xml/System.IO/FileStream.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2870,7 +2870,8 @@ Calling `DisposeAsync` allows the resources used by the <xref:System.IO.FileStre
28702870
<format type="text/markdown"><![CDATA[
28712871
28722872
## Remarks
2873-
This method flushes the .NET stream buffers to the file, but does not flush intermediate file buffers in the operating system. To ensure that all buffered data is written to the underlying storage device, use the <xref:System.IO.FileStream.Flush%28System.Boolean%29> method with the `flushToDisk` parameter set to `true`.
2873+
2874+
This method flushes the .NET stream buffers to the file, but does not flush intermediate file buffers in the operating system. To ensure that all buffered data is written to the underlying storage device, use the <xref:System.IO.FileStream.Flush(System.Boolean)> method with the `flushToDisk` parameter set to `true`.
28742875
28752876
If the operation is canceled before it completes, the returned task contains the <xref:System.Threading.Tasks.TaskStatus.Canceled> value for the <xref:System.Threading.Tasks.Task.Status%2A> property. If the handle to the file is disposed, the returned task contains the <xref:System.ObjectDisposedException> exception in the <xref:System.Threading.Tasks.Task.Exception%2A> property.
28762877

0 commit comments

Comments
 (0)