JsonMessageFormatter.GetJsonText(JsonRpcMessage) 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.
Gets a JSON representation for a given message for tracing purposes.
public object GetJsonText (StreamJsonRpc.Protocol.JsonRpcMessage message);
abstract member GetJsonText : StreamJsonRpc.Protocol.JsonRpcMessage -> obj
override this.GetJsonText : StreamJsonRpc.Protocol.JsonRpcMessage -> obj
Public Function GetJsonText (message As JsonRpcMessage) As Object
Parameters
- message
- JsonRpcMessage
The message to be traced.
Returns
Any object whose ToString() method will produce a human-readable JSON string, suitable for tracing.