HeaderDelimitedMessageHandler.WriteCoreAsync Method

Definition

Writes a message to the stream.

protected override System.Threading.Tasks.Task WriteCoreAsync (string content, System.Text.Encoding contentEncoding, System.Threading.CancellationToken cancellationToken);
override this.WriteCoreAsync : string * System.Text.Encoding * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overrides Function WriteCoreAsync (content As String, contentEncoding As Encoding, cancellationToken As CancellationToken) As Task

Parameters

content
String

The message to write.

contentEncoding
Encoding

The encoding to use for content.

cancellationToken
CancellationToken

A token to cancel the transmission.

Returns

A task that represents the asynchronous write operation.

Applies to