IJsonRpcFormatterTracingCallbacks.OnSerializationComplete 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.
Invites the formatter to call OnMessageSerialized(JsonRpcMessage, Object) with the JSON representation of the message just serialized..
public void OnSerializationComplete (StreamJsonRpc.Protocol.JsonRpcMessage message, System.Buffers.ReadOnlySequence<byte> encodedMessage);
abstract member OnSerializationComplete : StreamJsonRpc.Protocol.JsonRpcMessage * System.Buffers.ReadOnlySequence<byte> -> unit
Public Sub OnSerializationComplete (message As JsonRpcMessage, encodedMessage As ReadOnlySequence(Of Byte))
Parameters
- message
- JsonRpcMessage
The message that was just serialized.
- encodedMessage
- ReadOnlySequence<Byte>
The encoded copy of the message, as it recently came from the Serialize(IBufferWriter<Byte>, JsonRpcMessage) method.