Click or drag to resize

JCOBridgeUnmanagedMemoryStreamFlushAsync(CancellationToken) Method

Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public override Task FlushAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken  CancellationToken
The token to monitor for cancellation requests. The default value is None.

Return Value

Task
A task that represents the asynchronous flush operation.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe stream has been disposed.
See Also