JsonRpcRequest.NamedArgumentDeclaredTypes Property
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.
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.
[System.Runtime.Serialization.IgnoreDataMember]
public System.Collections.Generic.IReadOnlyDictionary<string,Type>? NamedArgumentDeclaredTypes { get; set; }
[<System.Runtime.Serialization.IgnoreDataMember>]
member this.NamedArgumentDeclaredTypes : System.Collections.Generic.IReadOnlyDictionary<string, Type> with get, set
Public Property NamedArgumentDeclaredTypes As IReadOnlyDictionary(Of String, Type)
Property Value
- Attributes
Remarks
This property is *not* serialized into the JSON-RPC message. On the client-side of an RPC call it comes from the declared property types in the parameter object. On the server-side of the RPC call it comes from the types of each parameter on the invoked RPC method. This list is used for purposes of aiding the IJsonRpcMessageFormatter in serialization.