JsonRpcMessage.Version Propiedad

Definición

Obtiene o establece la versión del protocolo JSON-RPC al que se ajusta este mensaje.

[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

Valor de propiedad

El valor predeterminado es "2.0".

Atributos

Se aplica a