JsonRpcMessage Class
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.
The base class for a JSON-RPC request or response.
C#
[System.Runtime.Serialization.DataContract]
[System.Runtime.Serialization.KnownType(typeof(StreamJsonRpc.Protocol.JsonRpcRequest))]
[System.Runtime.Serialization.KnownType(typeof(StreamJsonRpc.Protocol.JsonRpcResult))]
[System.Runtime.Serialization.KnownType(typeof(StreamJsonRpc.Protocol.JsonRpcError))]
public abstract class JsonRpcMessage
[<System.Runtime.Serialization.DataContract>]
[<System.Runtime.Serialization.KnownType(typeof(StreamJsonRpc.Protocol.JsonRpcRequest))>]
[<System.Runtime.Serialization.KnownType(typeof(StreamJsonRpc.Protocol.JsonRpcResult))>]
[<System.Runtime.Serialization.KnownType(typeof(StreamJsonRpc.Protocol.JsonRpcError))>]
type JsonRpcMessage = class
Public MustInherit Class JsonRpcMessage
- Inheritance
-
JsonRpcMessage
- Derived
- Attributes
Version |
Gets or sets the version of the JSON-RPC protocol that this message conforms to. |
Try |
Retrieves a top-level property from an incoming message that is an extension to the JSON-RPC specification. |
Try |
Sets a top-level property in the message that is an extension to JSON-RPC specification. |
Toode | Versioonid |
---|---|
StreamJsonRpc | 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9 |