Share via


FormatterBase.JsonRpcRequestBase Class

Definition

A base class for formatter-specific JsonRpcRequest implementations.

protected abstract class FormatterBase.JsonRpcRequestBase : StreamJsonRpc.Protocol.JsonRpcRequest, StreamJsonRpc.FormatterBase.IMessageWithTopLevelPropertyBag, StreamJsonRpc.Reflection.IJsonRpcMessageBufferManager
Protected MustInherit Class FormatterBase.JsonRpcRequestBase
Inherits JsonRpcRequest
Implements FormatterBase.IMessageWithTopLevelPropertyBag, IJsonRpcMessageBufferManager
Inheritance
FormatterBase.JsonRpcRequestBase
Implements

Constructors

FormatterBase.JsonRpcRequestBase()

Properties

ArgumentCount

Gets the number of arguments supplied in the request.

(Inherited from JsonRpcRequest)
ArgumentListDeclaredTypes

Gets or sets a list of Type objects that describe how each element in ArgumentsList is expected by the server to be typed. If specified, this must have exactly the same length as ArgumentsList and contain no null elements.

(Inherited from JsonRpcRequest)
ArgumentNames

Gets the sequence of argument names, if applicable.

(Inherited from JsonRpcRequest)
Arguments

Gets or sets the arguments to use when invoking the specified Method. Either an array of arguments or an object whose properties are used in a named arguments object.

(Inherited from JsonRpcRequest)
ArgumentsArray
Obsolete.

Gets or sets an array of arguments, if applicable.

(Inherited from JsonRpcRequest)
ArgumentsList

Gets or sets a read only list of arguments, if applicable.

(Inherited from JsonRpcRequest)
DebuggerDisplay

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

(Inherited from JsonRpcRequest)
Id
Obsolete.

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

(Inherited from JsonRpcRequest)
IsNotification

Gets a value indicating whether this is a notification, and no response is expected.

(Inherited from JsonRpcRequest)
IsResponseExpected

Gets a value indicating whether a response to this request is expected.

(Inherited from JsonRpcRequest)
Method

Gets or sets the name of the method to be invoked.

(Inherited from JsonRpcRequest)
NamedArgumentDeclaredTypes

Gets or sets a dictionary of Type objects indexed by the property name that describe how each element in NamedArguments is expected by the server to be typed. If specified, this must have exactly the same size as NamedArguments and contain no null values.

(Inherited from JsonRpcRequest)
NamedArguments

Gets or sets the dictionary of named arguments, if applicable.

(Inherited from JsonRpcRequest)
RequestId

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

(Inherited from JsonRpcRequest)
TopLevelPropertyBag

Gets or sets the top-level property bag for this message.

TraceParent

Gets or sets the data for the W3C Trace Contexttraceparent value.

(Inherited from JsonRpcRequest)
TraceState

Gets or sets the data for the W3C Trace Contexttracestate value.

(Inherited from JsonRpcRequest)
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.

ReleaseBuffers()

When overridden by derived types, clears references to all buffers that may have been used for deserialization.

ToString() (Inherited from JsonRpcRequest)
TryGetArgumentByNameOrIndex(String, Int32, Type, Object)

Retrieves an argument for the RPC request.

(Inherited from JsonRpcRequest)
TryGetTopLevelProperty<T>(String, T)

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

TryGetTypedArguments(ReadOnlySpan<ParameterInfo>, Span<Object>)

Gets the arguments to supply to the method invocation, coerced to types that will satisfy the given list of parameters.

(Inherited from JsonRpcRequest)
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)

Applies to