Share via


IJsonRpcTracingCallbacks.OnMessageSerialized(JsonRpcMessage, Object) Method

Definition

Occurs when the IJsonRpcMessageFormatter has serialized a message for transmission.

public void OnMessageSerialized (StreamJsonRpc.Protocol.JsonRpcMessage message, object encodedMessage);
abstract member OnMessageSerialized : StreamJsonRpc.Protocol.JsonRpcMessage * obj -> unit
Public Sub OnMessageSerialized (message As JsonRpcMessage, encodedMessage As Object)

Parameters

message
JsonRpcMessage

The JSON-RPC message.

encodedMessage
Object

The encoded form of the message. Calling ToString() on this should produce the JSON-RPC text of the message.

Applies to