ResponseMessage Class |
[This is preliminary documentation and is subject to change.]
Namespace: JsonRpc.Messages
The ResponseMessage type exposes the following members.
| Name | Description | |
|---|---|---|
| ResponseMessage |
Creates a new ResponseMessage instance.
| |
| ResponseMessage(MessageId) |
Creates a new ResponseMessage instance.
| |
| ResponseMessage(MessageId, ResponseError) |
Creates a new ResponseMessage instance that indicates error.
| |
| ResponseMessage(MessageId, JToken) |
Creates a new ResponseMessage instance that indicates success.
| |
| ResponseMessage(MessageId, JToken, ResponseError) |
Creates a new ResponseMessage instance.
|
| Name | Description | |
|---|---|---|
| Error |
The error that occurred while processing the request.
| |
| Id |
A unique ID assigned to the request/response session. The request creator is responsible for this value.
| |
| Result |
An object representing the result of processing the request.
| |
| Version |
The version of the JSON-RPC specification in use.
(Inherited from Message.) |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString |
Gets the JSON representation of the message.
(Inherited from Message.) | |
| WriteJson |
Writes the JSON RPC string into specified TextWriter.
(Inherited from Message.) |