Share via


PipeMessageHandler.WriteCoreAsync(JsonRpcMessage, CancellationToken) Method

Definition

Writes a message.

protected override sealed System.Threading.Tasks.ValueTask WriteCoreAsync (StreamJsonRpc.Protocol.JsonRpcMessage content, System.Threading.CancellationToken cancellationToken);
override this.WriteCoreAsync : StreamJsonRpc.Protocol.JsonRpcMessage * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Protected Overrides NotOverridable Function WriteCoreAsync (content As JsonRpcMessage, cancellationToken As CancellationToken) As ValueTask

Parameters

content
JsonRpcMessage

The message to write.

cancellationToken
CancellationToken

A token to cancel the transmission.

Returns

A task that represents the asynchronous write operation.

Applies to