JsonRpcRequest.Arguments 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 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.
[System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false, Name="params", Order=2)]
public object Arguments { get; set; }
[System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false, Name="params", Order=3)]
public object? Arguments { get; set; }
[<System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false, Name="params", Order=2)>]
member this.Arguments : obj with get, set
[<System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false, Name="params", Order=3)>]
member this.Arguments : obj with get, set
Public Property Arguments As Object
Property Value
An array of arguments OR map of named arguments. Preferably either an instance of IReadOnlyDictionary<TKey,TValue> where the key is a string representing the name of the parameter and the value is the argument, or an array of Object. If neither of these, ArgumentCount and TryGetArgumentByNameOrIndex(String, Int32, Type, Object) should be overridden.
- Attributes