Freigeben über


IJsonRpcMessageFormatter.GetJsonText(JsonRpcMessage) Methode

Definition

Achtung

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

Ruft eine JSON-Darstellung für eine bestimmte Nachricht für Ablaufverfolgungszwecke ab.

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

Parameter

message
JsonRpcMessage

Die Nachricht, die nachverfolgt werden soll.

Gibt zurück

Jedes Objekt, dessen ToString() Methode eine menschlichen lesbare JSON-Zeichenfolge erzeugt, die für die Ablaufverfolgung geeignet ist.

Attribute

Gilt für: