FormatterBase.JsonRpcResultBase Class
Definition
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.
A base class for formatter-specific JsonRpcResult implementations.
protected abstract class FormatterBase.JsonRpcResultBase : StreamJsonRpc.Protocol.JsonRpcResult, StreamJsonRpc.FormatterBase.IMessageWithTopLevelPropertyBag, StreamJsonRpc.Reflection.IJsonRpcMessageBufferManager
Protected MustInherit Class FormatterBase.JsonRpcResultBase
Inherits JsonRpcResult
Implements FormatterBase.IMessageWithTopLevelPropertyBag, IJsonRpcMessageBufferManager
- Inheritance
- Implements
Constructors
FormatterBase.JsonRpcResultBase() |
Properties
DebuggerDisplay |
Gets the string to display in the debugger for this instance. (Inherited from JsonRpcResult) |
Id |
Obsolete.
Gets or sets an identifier established by the client if a response to the request is expected. (Inherited from JsonRpcResult) |
RequestId |
Gets or sets an identifier established by the client if a response to the request is expected. (Inherited from JsonRpcResult) |
Result |
Gets or sets the value of the result of an invocation, if any. (Inherited from JsonRpcResult) |
ResultDeclaredType |
Gets or sets the declared type of the return value. (Inherited from JsonRpcResult) |
TopLevelPropertyBag |
Gets or sets the top-level property bag for this message. |
Version |
Gets or sets the version of the JSON-RPC protocol that this message conforms to. (Inherited from JsonRpcMessage) |
Methods
CreateTopLevelPropertyBag() |
Creates a new instance of the top-level property bag for this message. |
GetResult<T>() |
Gets the value of the Result, taking into account any possible type coercion. (Inherited from JsonRpcResult) |
ReleaseBuffers() |
When overridden by derived types, clears references to all buffers that may have been used for deserialization. |
SetExpectedResultType(Type) |
Provides a hint for a deferred deserialization of the Result value as to the type argument that will be used when calling GetResult<T>() later. (Inherited from JsonRpcResult) |
ToString() | (Inherited from JsonRpcResult) |
TryGetTopLevelProperty<T>(String, T) |
Retrieves a top-level property from an incoming message that is an extension to the JSON-RPC specification. |
TrySetTopLevelProperty<T>(String, T) |
Sets a top-level property in the message that is an extension to JSON-RPC specification. |
Explicit Interface Implementations
IJsonRpcMessageBufferManager.DeserializationComplete(JsonRpcMessage) |