System::IO::FileStream::FlushAsync method
FileStream::FlushAsync method
Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.
TaskPtr System::IO::FileStream::FlushAsync(const Threading::CancellationToken &cancellationToken) override
Parameter | Type | Description |
---|---|---|
cancellationToken | const Threading::CancellationToken& | The token to monitor for cancellation requests. |
ReturnValue
A task that represents the asynchronous flush operation.
See Also
- Typedef TaskPtr
- Class CancellationToken
- Class FileStream
- Namespace System::IO
- Library Aspose.PDF for C++