Share via


DelimitedMessageHandler.WriteCoreAsync Method

Definition

Writes a message to the stream.

protected abstract System.Threading.Tasks.Task WriteCoreAsync (string content, System.Text.Encoding contentEncoding, System.Threading.CancellationToken cancellationToken);
abstract member WriteCoreAsync : string * System.Text.Encoding * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected MustOverride 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