FlushAsync()
Contents
[
Hide
]Stream::FlushAsync(const Threading::CancellationToken&) method
Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.
virtual TaskPtr System::IO::Stream::FlushAsync(const Threading::CancellationToken &cancellationToken)
Arguments
Parameter | Type | Description |
---|---|---|
cancellationToken | const Threading::CancellationToken& | The token to monitor for cancellation requests. |
Return Value
A task that represents the asynchronous flush operation.
Stream::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::Stream::FlushAsync()
Return Value
A task that represents the asynchronous flush operation.
See Also
- Typedef TaskPtr
- Class CancellationToken
- Class Stream
- Namespace System::IO
- Library Aspose.Slides