FileStreamFlushAsync Method |
Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.
Namespace: CMS.FileSystemStorageAssembly: CMS.FileSystemStorage (in CMS.FileSystemStorage.dll) Version: 10.0.0
Syntax public override Task FlushAsync(
CancellationToken cancellationToken
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests. The default value is None.
Return Value
Type:
TaskA task that represents the asynchronous flush operation.
Exceptions See Also