Freigeben über


JsonRpcMethodAttribute.ClientRequiresNamedArguments Property

Definition

Gets or sets a value indicating whether JSON-RPC named arguments should be used in callbacks sent back to the client.

public bool ClientRequiresNamedArguments { get; set; }
member this.ClientRequiresNamedArguments : bool with get, set
Public Property ClientRequiresNamedArguments As Boolean

Property Value

The default value is false.

Remarks

An example of impact of this setting is when the client sends an IProgress<T> argument and this server will call Report(T) on that argument. The notification that the server then sends back to the client may use positional or named arguments in that notification. Named arguments are used if and only if this property is set to true.

Applies to