Delen via


JsonRpcMessage.Version Property

Definition

Gets or sets the version of the JSON-RPC protocol that this message conforms to.

[System.Runtime.Serialization.DataMember(IsRequired=true, Name="jsonrpc", Order=0)]
public string Version { get; set; }
[System.Runtime.Serialization.DataMember(IsRequired=true, Name="jsonrpc", Order=0)]
[System.Text.Json.Serialization.JsonPropertyName("jsonrpc")]
[System.Text.Json.Serialization.JsonPropertyOrder(0)]
[System.Text.Json.Serialization.JsonRequired]
public string Version { get; set; }
[<System.Runtime.Serialization.DataMember(IsRequired=true, Name="jsonrpc", Order=0)>]
member this.Version : string with get, set
[<System.Runtime.Serialization.DataMember(IsRequired=true, Name="jsonrpc", Order=0)>]
[<System.Text.Json.Serialization.JsonPropertyName("jsonrpc")>]
[<System.Text.Json.Serialization.JsonPropertyOrder(0)>]
[<System.Text.Json.Serialization.JsonRequired>]
member this.Version : string with get, set
Public Property Version As String

Property Value

Defaults to "2.0".

Attributes

Applies to