NewLineDelimitedMessageHandler.Write 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.
Writes a message to the pipe.
protected override void Write (StreamJsonRpc.Protocol.JsonRpcMessage content, System.Threading.CancellationToken cancellationToken);
override this.Write : StreamJsonRpc.Protocol.JsonRpcMessage * System.Threading.CancellationToken -> unit
Protected Overrides Sub Write (content As JsonRpcMessage, cancellationToken As CancellationToken)
Parameters
- content
- JsonRpcMessage
The message to write.
- cancellationToken
- CancellationToken
A token to cancel the transmission.