StreamMessageHandler.FlushAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calls FlushAsync() on the SendingStream, or equivalent sending stream if using an alternate transport.
protected override System.Threading.Tasks.ValueTask FlushAsync (System.Threading.CancellationToken cancellationToken);
override this.FlushAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Protected Overrides Function FlushAsync (cancellationToken As CancellationToken) As ValueTask
Parameters
- cancellationToken
- CancellationToken
Returns
A Task that completes when the write buffer has been transmitted.