Share via


JsonRpcError Class

Definition

Describes the error resulting from a JsonRpcRequest that failed on the server.

[System.Runtime.Serialization.DataContract]
public class JsonRpcError : StreamJsonRpc.Protocol.JsonRpcMessage
[System.Runtime.Serialization.DataContract]
public class JsonRpcError : StreamJsonRpc.Protocol.JsonRpcMessage, StreamJsonRpc.Protocol.IJsonRpcMessageWithId
[<System.Runtime.Serialization.DataContract>]
type JsonRpcError = class
    inherit JsonRpcMessage
[<System.Runtime.Serialization.DataContract>]
type JsonRpcError = class
    inherit JsonRpcMessage
    interface IJsonRpcMessageWithId
Public Class JsonRpcError
Inherits JsonRpcMessage
Public Class JsonRpcError
Inherits JsonRpcMessage
Implements IJsonRpcMessageWithId
Inheritance
JsonRpcError
Attributes
Implements

Constructors

JsonRpcError()

Properties

DebuggerDisplay

Gets the string to display in the debugger for this instance.

Error

Gets or sets the detail about the error.

Id
Obsolete.

Gets or sets an identifier established by the client if a response to the request is expected.

RequestId

Gets or sets an identifier established by the client if a response to the request is expected.

Version

Gets or sets the version of the JSON-RPC protocol that this message conforms to.

(Inherited from JsonRpcMessage)

Methods

ToString()

Returns a string that represents the current object.

TryGetTopLevelProperty<T>(String, T)

Retrieves a top-level property from an incoming message that is an extension to the JSON-RPC specification.

(Inherited from JsonRpcMessage)
TrySetTopLevelProperty<T>(String, T)

Sets a top-level property in the message that is an extension to JSON-RPC specification.

(Inherited from JsonRpcMessage)

Applies to