Share via


DelimitedMessageHandler.WriteAsync(String, CancellationToken) Method

Definition

Writes a message to the stream.

public System.Threading.Tasks.Task WriteAsync (string content, System.Threading.CancellationToken cancellationToken);
member this.WriteAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function WriteAsync (content As String, cancellationToken As CancellationToken) As Task

Parameters

content
String

The message to write.

cancellationToken
CancellationToken

A token to cancel the transmission.

Returns

A task that represents the asynchronous write operation.

Applies to