Compartir a través de


IJsonRpcMessageFormatter.GetJsonText(JsonRpcMessage) Método

Definición

Precaución

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

Obtiene una representación JSON para un mensaje determinado con fines de seguimiento.

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

Parámetros

message
JsonRpcMessage

Mensaje que se va a rastrear.

Devoluciones

Cualquier objeto cuyo ToString() método genere una cadena JSON legible, adecuada para el seguimiento.

Atributos

Se aplica a