Dela via


JsonRpcRequest.Method Property

Definition

Gets or sets the name of the method to be invoked.

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

Property Value

Attributes

Applies to