JsonRpcMessage.Version 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定該訊息所遵循的 JSON-RPC 協定版本。
[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
屬性值
預設為「2.0」。
- 屬性