Language

IJsonRpcMessageFormatter.GetJsonText(JsonRpcMessage) メソッド

定義

注意事項

Tracing is now done via the IJsonRpcTracingCallbacks and IJsonRpcFormatterTracingCallbacks interfaces. Formatters may throw NotSupportedException from this method.

トレース目的で特定のメッセージの JSON 表現を取得します。

public object GetJsonText(StreamJsonRpc.Protocol.JsonRpcMessage message);
[System.Obsolete("Tracing is now done via the IJsonRpcTracingCallbacks and IJsonRpcFormatterTracingCallbacks interfaces. Formatters may throw NotSupportedException from this method.")]
public object GetJsonText(StreamJsonRpc.Protocol.JsonRpcMessage message);
abstract member GetJsonText : StreamJsonRpc.Protocol.JsonRpcMessage -> obj
[<System.Obsolete("Tracing is now done via the IJsonRpcTracingCallbacks and IJsonRpcFormatterTracingCallbacks interfaces. Formatters may throw NotSupportedException from this method.")>]
abstract member GetJsonText : StreamJsonRpc.Protocol.JsonRpcMessage -> obj
Public Function GetJsonText (message As JsonRpcMessage) As Object

パラメーター

message
JsonRpcMessage

トレースするメッセージ。

返品

ToString()メソッドを持つオブジェクトは、トレースに適した、人間が判読できる JSON 文字列を生成します。

属性

適用対象